{% extends "base.html" %} {% block title %} {% if wg %} Edit info on {{ wg.acronym }} {% else %} Create WG {% endif %} {% endblock %} {% block morecss %} form.edit-info #id_name { width: 396px; } form.edit-info #id_list_email { width: 396px; } form.edit-info #id_list_subscribe { width: 396px; } form.edit-info #id_list_archive { width: 396px; } form.edit-info #id_urls { width: 400px; } form.edit-info #id_comments { width: 400px; } {% endblock %} {% block pagehead %} {% endblock %} {% block content %} {% load ietf_filters %}

{% if wg %} Edit info on {{ wg.acronym }} {% else %} Create WG {% endif %}

{% for field in form.visible_fields %} {% endfor %}
{{ field.label_tag }}: {{ field }} {% ifequal field.name "ad" %} {% if user|in_group:"Area_Director" %} {% endif %} {% endifequal %} {% if field.help_text %}
{{ field.help_text }}
{% endif %} {{ field.errors }}
{% if wg %} Back {% else %} {% endif %}
{% endblock %} {% block scripts %} $(document).ready(function () { var chairs = eval($("#id_chairs").val()), secretaries = eval($("#id_secretaries").val()), techadv = eval($("#id_techadv").val()); $("#id_chairs").tokenInput("/wgcharter/searchPerson/", { hintText: "", preventDuplicates: true, prePopulate: chairs }); $("#id_secretaries").tokenInput("/wgcharter/searchPerson/", { hintText: "", preventDuplicates: true, prePopulate: secretaries }); $("#id_techadv").tokenInput("/wgcharter/searchPerson/", { hintText: "", preventDuplicates: true, prePopulate: techadv }); $("#id_name").focus(); }); {% endblock %} {% block content_end %} {% endblock %}