~abompard/postorius/include-sdist

« back to all changes in this revision

Viewing changes to src/postorius/templates/postorius/lists/settings.html

  • Committer: Florian Fuchs
  • Date: 2015-01-19 15:03:09 UTC
  • mfrom: (188.4.2 postorius)
  • Revision ID: flo.fuchs@gmail.com-20150119150309-lcdx9ztq29ejj0ze
* URLs now contains the list-id instead of the fqdn_listname. Contributed by Abhilash Raj (LP: 1201150).
* Added dev_requirements.txt for installation of development dependencies.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
    {% list_nav 'list_settings' 'Settings' %}
9
9
    <ul class="nav nav-tabs">
10
10
        {% for section in form_sections %}
11
 
        <li {% if section.0 == visible_section %}class="active"{% endif %}><a href="{% url 'list_settings' fqdn_listname=list.fqdn_listname visible_section=section.0 visible_option=None %}">{{section.0}}</a></li>
 
11
        <li {% if section.0 == visible_section %}class="active"{% endif %}><a href="{% url 'list_settings' list_id=list.list_id visible_section=section.0 visible_option=None %}">{{section.0}}</a></li>
12
12
        {% endfor %}
13
13
    </ul>
14
14
 
15
15
    {% if visible_section %}
16
16
 
17
17
        <table class="well">
18
 
        <form class="well" action="{% url 'list_settings' fqdn_listname=list.fqdn_listname visible_section=visible_section visible_option=visible_option %}" method="post" class="list_settings"> {% csrf_token %}
 
18
        <form class="well" action="{% url 'list_settings' list_id=list.list_id visible_section=visible_section visible_option=visible_option %}" method="post" class="list_settings"> {% csrf_token %}
19
19
                        {% for field in form %}
20
20
            <tr><td>
21
21
                {{ field.errors }}