fpaste/views/index.handlebars

13 lines
694 B
HTML
Raw Normal View History

2018-02-20 09:16:06 +00:00
<h1>New paste{{#if reply}} (reply to <a href="/v/{{reply}}">{{reply}}</a>){{/if}}</h1>
2018-02-16 13:25:46 +00:00
<form method="post" action="/">
<div class="settings"><p>Description:</p><input id="desc" type="text" name="desc" value=""></div>
<textarea id="content" name="content"></textarea>
<ul class="settings">
2018-02-16 15:54:12 +00:00
<li><p>Language:</p><select id="lang" name="lang">
{{#each this.languages}}<option value="{{this}}">{{this}}</option>{{/each}}
</select></li>
2018-02-16 13:25:46 +00:00
<li><p>Hide from recent pastes:</p><input type="checkbox" id="hidden" name="hidden"></li>
</ul>
2018-02-20 09:16:06 +00:00
<input id="reply" type="hidden" name="reply" value="{{reply}}">
2018-02-16 13:25:46 +00:00
<input type="submit" value="Add paste">
</form>