Skip to content

Commit 212d7e8

Browse files
committed
Summary: Facelift IPR email submitter
- Legacy-Id: 8918
1 parent 1bd0910 commit 212d7e8

1 file changed

Lines changed: 16 additions & 28 deletions

File tree

ietf/templates/ipr/email.html

Lines changed: 16 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,28 @@
1-
{% extends "base.html" %}
2-
{# Copyright The IETF Trust 2007, All Rights Reserved #}
3-
{% block title %}IPR Email{% endblock %}
1+
{% extends "ietf.html" %}
2+
3+
{% load bootstrap3 %}
4+
5+
{% block title %}Email submitter of {{ ipr.title }}{% endblock %}
46

57
{% block pagehead %}
68
<link rel="stylesheet" href="/facelift/css/lib/datepicker3.css"></link>
7-
<link rel="stylesheet" type="text/css" href="/css/ipr.css"></link>
89
{% endblock %}
910

10-
1111
{% block content %}
12+
<h1>Email submitter<br><small>{{ ipr.title }}</small></h1>
13+
14+
{% bootstrap_messages %}
1215

13-
<div class="ipr">
14-
<h2>Send email to disclosure submitter</h2>
15-
16-
<form action="" method="post">{% csrf_token %}
17-
<table id="ipr-table">
18-
<th colspan=2>Email Form</th>
19-
{% if form.non_field_errors %}{{ form.non_field_errors }}{% endif %}
20-
{% for field in form.visible_fields %}
21-
<tr>
22-
<td>{{ field.label_tag }}{% if field.field.required %}<span class="required"> *</span>{% endif %}</td>
23-
<td>{{ field.errors }}{{ field }}{% if field.help_text %}<br>{{ field.help_text }}{% endif %}</td>
24-
</tr>
25-
{% endfor %}
26-
</table>
27-
<div class="button-group">
28-
<ul id="announcement-button-list">
29-
<li><button type="submit" name="submit" value="submit">Submit</button></li>
30-
<li><button type="submit" name="submit" value="Cancel">Cancel</button></li>
31-
</ul>
32-
</div> <!-- button-group -->
33-
34-
</form>
35-
</div> <!-- module -->
16+
<form role="form" method="post" class="show-required">
17+
{% csrf_token %}
3618

19+
{% bootstrap_form form %}
3720

21+
{% buttons %}
22+
<button type="submit" class="btn btn-primary">Send Email</button>
23+
<a class="btn btn-default pull-right" href="{% url "ipr_history" id=ipr.id %}">Back</a>
24+
{% endbuttons %}
25+
</form>
3826
{% endblock %}
3927

4028
{% block js %}

0 commit comments

Comments
 (0)