tabs) and kill the scripts block in favour of just using a js block with a script tag (which is easier to understand for context-sensitive modes such as web-mode in Emacs). Also fix a couple of details, e.g. missing semicolons in JS snippets. - Legacy-Id: 9096
28 lines
918 B
HTML
28 lines
918 B
HTML
{% extends "ietf.html" %}
|
|
|
|
{% load bootstrap3 %}
|
|
{% load ietf_filters %}
|
|
|
|
{% block title %}Approval announcement writeup for {{ doc }}{% endblock %}
|
|
|
|
{% block content %}
|
|
<h1>Approval announcement writeup<br><small>{{ doc }}</small></h1>
|
|
|
|
{% bootstrap_messages %}
|
|
|
|
<form role="form" method="post">
|
|
{% csrf_token %}
|
|
{% bootstrap_form approval_text_form %}
|
|
|
|
{% buttons %}
|
|
<button type="submit" class="btn btn-primary" name="save_approval_text">Save text</button>
|
|
<button type="submit" class="btn btn-warning" name="regenerate_approval_text">Regenerate text</button>
|
|
{% if user|has_role:"Secretariat" and can_announce %}
|
|
<a class="btn btn-default" href="{% url "doc_approve_ballot" name=doc.name %}">Approve ballot</a>
|
|
{% endif %}
|
|
<a class="btn btn-default pull-right" href="{% url "doc_view" name=doc.name %}">Back</a>
|
|
{% endbuttons %}
|
|
</form>
|
|
|
|
{% endblock%}
|