~yeliabmas/sloecode/wiki-file-creation

« back to all changes in this revision

Viewing changes to sloecode/templates/wiki/edit.html

  • Committer: Sam Bailey
  • Date: 2012-06-28 08:50:24 UTC
  • Revision ID: yeliabmas@gmail.com-20120628085024-m4xfdwppgr5m5lu2
Completed edit template, and added new child template for all text-based views

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
{% extends "wiki/page.html" %}
 
2
 
 
3
{% block wiki_content %}
 
4
{{ h.form(fragments['save_url'], method="post", name="wiki") }}
 
5
        {{ h.hidden('description') }}
 
6
        {{ h.hidden('rev-id', value=fragments['rev-id']) }}
 
7
        Template: {{ h.select("template", None, [["", "<none>"], ["test", "Test Template"]]) }}<br>
 
8
        {{ h.textarea("content", fragments['content'], rows=20, style='width:99%') }}<br>
 
9
        {{ h.submit('save', 'Save') }}
 
10
{{ h.end_form() }}</p>
 
11
{% endblock %}