fpaste/views/index.handlebars
2018-02-20 10:16:06 +01:00

13 lines
694 B
HTML

<h1>New paste{{#if reply}} (reply to <a href="/v/{{reply}}">{{reply}}</a>){{/if}}</h1>
<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">
<li><p>Language:</p><select id="lang" name="lang">
{{#each this.languages}}<option value="{{this}}">{{this}}</option>{{/each}}
</select></li>
<li><p>Hide from recent pastes:</p><input type="checkbox" id="hidden" name="hidden"></li>
</ul>
<input id="reply" type="hidden" name="reply" value="{{reply}}">
<input type="submit" value="Add paste">
</form>