Skip to content

Commit eb4c5e6

Browse files
committed
Summary: Facelift IPR add email page
- Legacy-Id: 8914
1 parent ed8656e commit eb4c5e6

1 file changed

Lines changed: 23 additions & 21 deletions

File tree

ietf/templates/ipr/add_email.html

Lines changed: 23 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,28 @@
1-
{% extends "base.html" %}
1+
{% extends "ietf.html" %}
22

3-
{% block title %}Add email on {{ ipr.title }}{% endblock %}
3+
{% load bootstrap3 %}
44

5-
{% block pagehead %}
6-
<link rel="stylesheet" type="text/css" href="/css/ipr.css"></link>
7-
{% endblock %}
5+
{% block morecss %}
6+
form.add-email textarea { height: 24em; }
7+
{% endblock morecss %}
8+
9+
{% block title %}Add email on {{ ipr.title }}{% endblock %}
810

911
{% block content %}
10-
<h1>Add email on {{ ipr }}</h1>
11-
12-
<p>The email will be added to the history trail.</p>
13-
14-
<form class="add-email" action="" method="post">{% csrf_token %}
15-
<table>
16-
{{ form.as_table }}
17-
<tr>
18-
<td></td>
19-
<td class="actions">
20-
<a href="{% url "ipr_history" id=ipr.id %}">Back</a>
21-
<input type="submit" value="Add email"/>
22-
</td>
23-
</tr>
24-
</table>
25-
</form>
12+
<h1>Add email<br><small>{{ ipr }}</small></h1>
13+
14+
<p>The email will be added to the history trail of the disclosure.</p>
15+
16+
{% bootstrap_messages %}
17+
18+
<form class="add-email" method="post">
19+
{% csrf_token %}
20+
21+
{% bootstrap_form form %}
22+
23+
{% buttons %}
24+
<button type="submit" class="btn btn-primary">Add Email</button>
25+
<a class="btn btn-default pull-right" href="{% url "ipr_history" id=ipr.id %}">Back</a>
26+
{% endbuttons %}
27+
</form>
2628
{% endblock %}

0 commit comments

Comments
 (0)