Summary: Facelift IPR add email page

- Legacy-Id: 8914
This commit is contained in:
Ole Laursen 2015-01-26 11:33:21 +00:00
parent ed8656e94a
commit eb4c5e642a

View file

@ -1,26 +1,28 @@
{% extends "base.html" %}
{% extends "ietf.html" %}
{% load bootstrap3 %}
{% block morecss %}
form.add-email textarea { height: 24em; }
{% endblock morecss %}
{% block title %}Add email on {{ ipr.title }}{% endblock %}
{% block pagehead %}
<link rel="stylesheet" type="text/css" href="/css/ipr.css"></link>
{% endblock %}
{% block content %}
<h1>Add email on {{ ipr }}</h1>
<h1>Add email<br><small>{{ ipr }}</small></h1>
<p>The email will be added to the history trail.</p>
<p>The email will be added to the history trail of the disclosure.</p>
<form class="add-email" action="" method="post">{% csrf_token %}
<table>
{{ form.as_table }}
<tr>
<td></td>
<td class="actions">
<a href="{% url "ipr_history" id=ipr.id %}">Back</a>
<input type="submit" value="Add email"/>
</td>
</tr>
</table>
</form>
{% bootstrap_messages %}
<form class="add-email" method="post">
{% csrf_token %}
{% bootstrap_form form %}
{% buttons %}
<button type="submit" class="btn btn-primary">Add Email</button>
<a class="btn btn-default pull-right" href="{% url "ipr_history" id=ipr.id %}">Back</a>
{% endbuttons %}
</form>
{% endblock %}