37f92538486aa853925965460573a7ef86cd40c6
[phorkie.git] / data / templates / edit-file.htm
1  <div class="well filegroup" id="filegroup{{fileid}}">
2   <div class="row-fluid">
3    <div class="span6">
4     <label for="filename_1">Filename</label>
5     <input type="hidden" name="files[{{fileid}}][original_name]" value="{{file.getFilename}}"/>
6     <input type="text" name="files[{{fileid}}][name]" id="filename_{{fileid}}" value="{{file.getFilename}}"/>
7    </div>
8    <div class="span6" style="text-align: right">
9     <label for="type_{{fileid}}">Type</label>
10     <!-- fixme: preselect -->
11     <select name="files[{{fileid}}][type]" id="type_{{fileid}}">
12      {{htmlhelper.getLanguageOptions(file)|raw}}
13     </select>
14    </div>
15   </div>
16   <textarea name="files[{{fileid}}][content]" id="content_{{fileid}}" cols="80" rows="15" class="content">{{file.getContent}}</textarea>
17  </div>
18