fpaste/views/index.handlebars
2018-02-16 16:54:12 +01:00

13 lines
606 B
HTML

<h1>New paste</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="email" type="text" name="email">
<input type="submit" value="Add paste">
</form>