rename Phorkie to phorkie (lowercase)
[phorkie.git] / data / templates / index.htm
index 9b158bbdb068e57f1fbc3e245232a3dfaa0de966..3893d2ab47d78185b9fd8bec0e19ecb0d9f9cb20 100644 (file)
@@ -4,29 +4,13 @@
 {% block content %}
 <form method="post" action="/">
  <div class="control-group well pastedata">
-  <label for="description" class="control-label">Description</label>
-  <div class="controls">
+   <label for="description">Description</label>
    <input type="text" name="description" id="description" value="{{description}}"/>
-  </div>
  </div>
 
- <div class="well">
-  <div class="row-fluid">
-   <div class="span6">
-    <label for="filename_1">Filename</label>
-    <input type="text" name="file[1][name]" id="filename_1" value="{{ file[1]['name'] }}"/>
-   </div>
-   <div class="span6" style="text-align: right">
-    <label for="type_1">Type</label>
-    <select name="file[1][type]" id="type_1">
-     <option value="css">CSS</option>
-     <option value="php">PHP</option>
-     <option value="xml">XML</option>
-    </select>
-   </div>
-  </div>
-  <textarea name="file[1][content]" id="content_1" cols="80" rows="10" class="content">{{ file[1]['content'] }}</textarea>
- </div>
+ {% include 'edit-file.htm' with {'file': file[1], 'fileid': 0} %}
+
+ {% include 'edit-add.htm' %}
 
  <div class="well" style="text-align: right">
   <button class="btn btn-primary" type="submit">