1 {% extends "base.htm" %}
2 {% block title %}New paste{% endblock %}
5 <form method="post" action="/">
7 <label for="description">Description</label>
8 <input type="text" name="description" id="description" value="{{description}}"/>
11 <label for="filename_1">Filename</label>
12 <input type="text" name="file[1][name]" id="filename_1" value="{{ file[1]['name'] }}"/>
15 <label for="type_1">Type</label>
16 <select name="file[1][type]" id="type_1">
17 <option value="css">CSS</option>
18 <option value="php">PHP</option>
19 <option value="xml">XML</option>
23 <textarea name="file[1][content]" id="content_1" cols="80" rows="10">{{ file[1]['content'] }}</textarea>
26 <input type="submit" value="Go"/>