Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merged in [8609] from tterriberry@mozilla.com, with minor changes:
Allow changing the title of a charter document. Fixes #1334 - Legacy-Id: 8635 Note: SVN reference [8609] has been migrated to Git commit 63d919e
- Loading branch information
Showing
4 changed files
with
111 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
{% extends "base.html" %} | ||
|
||
{% block title %}{{ title }}{% endblock %} | ||
|
||
{% block morecss %} | ||
form.change-title select { | ||
width: 22em; | ||
} | ||
|
||
#id_charter_title, #id_message, #id_comment { | ||
width: 40em; | ||
} | ||
|
||
form.change-title .actions { | ||
text-align: right; | ||
padding-top: 10px; | ||
} | ||
{% endblock %} | ||
|
||
{% block content %} | ||
<h1>{{ title }}</h1> | ||
|
||
<form class="change-title" action="" method="post">{% csrf_token %} | ||
<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 colspan="2" class="actions"> | ||
<a href="{% url "doc_view" name=doc.name %}">Back</a> | ||
<input type="submit" value="Save and (possibly) notify Secretariat"/> | ||
</td> | ||
</tr> | ||
</table> | ||
</form> | ||
|
||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters