3
3
{% block title %} Wiki {% endblock %}
6
{% set pathurl = h.url(controller=path, action="+save") %}
7
<p>{{ h.form(pathurl, method="post", name="wiki") }}
8
{{ h.hidden('old_name', template['name']) }}
9
Name: {{ h.text('name', template['name']) }}<br>
10
Folder Location: {{ h.text('save_location', template['save_location']) }}<br>
11
Description: {{ h.text('description', template['description']) }}<br>
12
{{ h.textarea("content", template['content'], rows=20, style='width:99%') }}<br>
13
{{ h.submit('save', 'Save') }}
8
<div id="page_header" class="yui3-u-1">
9
<div class="content-left">
10
<h2>Editing {{template.name}}:</h2>
16
<div id="page_header" class="yui3-u-1">
17
<div class="content-left content-right">
18
{{ h.form(save_url, method="post", name="wiki") }}
19
{{ h.hidden('old_name', template['name']) }}
23
<span class="entry-hint">This is what your template will be called.</span></td>
24
<td>{{ h.text('name', template['name']) }}</td>
28
<span class="entry-hint">The folder that pages derived from this template
29
will be put in by default.</span></td>
30
<td>{{ h.text('save_location', template['save_location']) }}</td>
34
<span class="entry-hint">A brief description of the template.</span></td>
35
<td>{{ h.textarea('description', template['description'], cols=45, rows=5) }}</td>
38
{{ h.textarea("content", template['content'], rows=20, style='width:99%') }}<br>
39
{{ h.submit('save', 'Save') }}
14
40
{{ h.end_form() }}</p>