description input lager
[phorkie.git] / data / templates / index.htm
1 {% extends "base.htm" %}
2 {% block title %}New paste{% endblock %}
3
4 {% block content %}
5 <form method="post" action="/">
6  <div class="control-group well pastedata">
7    <label for="description">Description</label>
8    <input type="text" name="description" id="description" value="{{description}}"/>
9  </div>
10
11  <div class="well">
12   <div class="row-fluid">
13    <div class="span6">
14     <label for="filename_1">Filename</label>
15     <input type="text" name="file[1][name]" id="filename_1" value="{{ file[1]['name'] }}"/>
16    </div>
17    <div class="span6" style="text-align: right">
18     <label for="type_1">Type</label>
19     <select name="file[1][type]" id="type_1">
20      <option value="css">CSS</option>
21      <option value="php">PHP</option>
22      <option value="xml">XML</option>
23     </select>
24    </div>
25   </div>
26   <textarea name="file[1][content]" id="content_1" cols="80" rows="10" class="content">{{ file[1]['content'] }}</textarea>
27  </div>
28
29  <div class="well" style="text-align: right">
30   <button class="btn btn-primary" type="submit">
31    <i class="icon-check icon-white"></i>
32    Create
33   </button>
34  </div>
35
36 </form>
37 {% endblock %}