41 lines
997 B
HTML
41 lines
997 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block morecss %}
|
|
form #id_content {
|
|
width: 40em;
|
|
height: 450px;
|
|
}
|
|
{% endblock %}
|
|
|
|
{% block title %}
|
|
Edit shepherd writeup for {{ doc.canonical_name }}-{{ doc.rev }}
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<h1>Edit shepherd writeup for {{ doc.canonical_name }}-{{ doc.rev }}</h1>
|
|
|
|
<form class="edit-info" action="" enctype="multipart/form-data" method="POST">
|
|
<table>
|
|
{% for field in form.visible_fields %}
|
|
<tr>
|
|
<th>{{ field.label_tag }}</th>
|
|
<td>
|
|
{{ field }}
|
|
{% if field.help_text %}<div class="help">{{ field.help_text }}</div>{% endif %}
|
|
{{ field.errors }}
|
|
</td>
|
|
</tr>
|
|
{% endfor %}
|
|
<tr>
|
|
<td></td>
|
|
<td class="actions">
|
|
<a href="{% url "doc_view" name=doc.canonical_name %}">Back</a>
|
|
<input type="submit" name="reset_text" value="Reset to Template Text"/>
|
|
<input type="submit" name="submit_response" value="Submit"/>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</form>
|
|
|
|
{% endblock %}
|