- <div class="well">
+ <div class="well filegroup" id="filegroup{{fileid}}">
<div class="row-fluid">
<div class="span6">
<label for="filename_1">Filename</label>
<label for="type_{{fileid}}">Type</label>
<!-- fixme: preselect -->
<select name="files[{{fileid}}][type]" id="type_{{fileid}}">
- <option value="css">CSS</option>
- <option value="php">PHP</option>
- <option value="xml">XML</option>
+ {{htmlhelper.getLanguageOptions(file)|raw}}
</select>
</div>
</div>
- <textarea name="files[{{fileid}}][content]" id="content_{{fileid}}" cols="80" rows="10" class="content">{{file.getContent}}</textarea>
+ <textarea name="files[{{fileid}}][content]" id="content_{{fileid}}" cols="80" rows="15" class="content">{{file.getContent}}</textarea>
</div>