Allow selection of format and entering of commit message via frontend.

This commit is contained in:
Tom Preston-Werner
2010-07-13 13:22:09 -07:00
parent 450c168383
commit a2b63f5d12
7 changed files with 72 additions and 8 deletions
@@ -6,11 +6,24 @@
<label>
Title<br />
<input class="text" type="text" name="page" value="{{name}}" />
</label>
<label>
Format<br />
<select name="format">
{{#formats}}
<option {{#selected}}selected="true" {{/selected}}value="{{id}}">{{name}}</option>
{{/formats}}
</select>
</label>
<label>
Body
<textarea name="content"></textarea>
</label>
<label>
Edit Summary <small>(Briefly describe the changes you have made)</small><br />
<input type="text" class="text" name="message" value="Create '{{name}}' page." />
</label>
<div class="actions">
<input type="submit" value="Create page" />
</div>