person, add migration to fix the existing shepherds, fix wording and max entries on change shepherd page to be more self-explanatory - Legacy-Id: 8268
50 lines
1.3 KiB
HTML
50 lines
1.3 KiB
HTML
{% extends "base.html" %}
|
|
|
|
{% block morecss %}
|
|
.warning {
|
|
font-weight: bold;
|
|
color: #a00;
|
|
}
|
|
{% endblock %}
|
|
|
|
{% block title %}
|
|
Change the document shepherd for {{ doc.name }}-{{ doc.rev }}
|
|
{% endblock %}
|
|
|
|
{% block pagehead %}
|
|
<link rel="stylesheet" type="text/css" href="/css/token-input.css"></link>
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<h1>Change the document shepherd for {{ doc.name }}-{{ doc.rev }}</h1>
|
|
|
|
<p>The shepherd needs to have a Datatracker account. A new account can be
|
|
<a href="{% url "create_account" %}">created here</a>.</p>
|
|
|
|
<form class="edit-info" 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></td>
|
|
<td class="actions">
|
|
<a class="button" href="{% url "doc_view" name=doc.name %}">Cancel</a>
|
|
<input class="button" type="submit" value="Save"/>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</form>
|
|
{% endblock %}
|
|
{% block content_end %}
|
|
<script type="text/javascript" src="/js/lib/jquery.tokeninput.js"></script>
|
|
<script type="text/javascript" src="/js/tokenized-field.js"></script>
|
|
{% endblock %}
|