in order to autogenerate dotted path url pattern names. Updated a number of url reverses to use dotted path, and removed explicit url pattern names as needed. Changed some imports to prevent import of ietf.urls before django initialization was complete. Changed 3 cases of form classes being curried to functions; django 1.10 didn't accept that. Started converting old-style middleware classes to new-style middleware functions (incomplete). Tweaked a nomcom decorator to preserve function names and attributes, like a good decorator should. Replaced the removed django templatetag 'removetags' with our own version which uses bleach, and does sanitizing in addition to removing explicitly mentionied html tags. Rewrote the filename argument handling in a management command which had broken with the upgrade. - Legacy-Id: 12818
24 lines
645 B
HTML
24 lines
645 B
HTML
{% extends "nomcom/nomcom_private_base.html" %}
|
|
{# Copyright The IETF Trust 2015, All Rights Reserved #}
|
|
{% load origin %}
|
|
{% load bootstrap3 %}
|
|
{% load nomcom_tags %}
|
|
|
|
{% block subtitle %} - Edit Nominee {{ nominee }}{% endblock %}
|
|
|
|
{% block nomcom_content %}
|
|
{% origin %}
|
|
|
|
<h2>Edit email<br><small>{{ nominee }}</small></h2>
|
|
|
|
<form method="post">
|
|
{% csrf_token %}
|
|
{% bootstrap_form form %}
|
|
{% buttons %}
|
|
<input class="btn btn-primary" type="submit" value="Save">
|
|
<a class="btn btn-default pull-right" href="{% url "ietf.nomcom.views.private_index" year %}">Back</a>
|
|
{% endbuttons %}
|
|
</form>
|
|
|
|
{% endblock %}
|