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
24 lines
601 B
HTML
24 lines
601 B
HTML
{% extends "ietf.html" %}
|
|
|
|
{% load bootstrap3 %}
|
|
|
|
{% block title %}Add comment for {{ doc }}{% endblock %}
|
|
|
|
{% block content %}
|
|
<h1>Add comment<br><small>{{ doc }}</small></h1>
|
|
|
|
{% bootstrap_messages %}
|
|
|
|
<form role="form" method="post">
|
|
{% csrf_token %}
|
|
{% bootstrap_form form %}
|
|
<p class="help-block">The comment will be added to the history trail.</p>
|
|
|
|
{% buttons %}
|
|
<button type="submit" class="btn btn-primary">Submit</button>
|
|
<a class="btn btn-default pull-right" href="{% url "doc_view" name=doc.name %}">Back</a>
|
|
{% endbuttons %}
|
|
</form>
|
|
|
|
{% endblock %}
|