Changeset 670a2bd for asadb/template


Ignore:
Timestamp:
Oct 6, 2012, 8:22:39 PM (13 years ago)
Author:
Alex Dehnert <adehnert@…>
Branches:
master, space-access, stable, stage
Children:
21c6ad4
Parents:
a50f67b
git-author:
Alex Dehnert <adehnert@…> (10/06/12 20:22:39)
git-committer:
Alex Dehnert <adehnert@…> (10/06/12 20:22:39)
Message:

Easily allow unconfirming membership (ASA-#160)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • asadb/template/membership/confirm.html

    r56e8cb8 r670a2bd  
    2121<h3>Groups you currently say you're a member of:</h3>
    2222{% if member_groups %}
    23 <ul>
     23<table class='pretty-table'>
     24<thead>
     25<tr>
     26    <th>Group</th>
     27    <th></th>
     28</tr>
     29</thead>
     30<tbody>
    2431{% for group in member_groups %}
    25     <li>{{group}}</li>
     32<tr>
     33    <th>{{group}}</th>
     34    <td><form action="" method="post">
     35        <input type="hidden" name="group" value="{{group.pk}}">
     36        {% csrf_token %}
     37        <input type="hidden" name="action" value="remove">
     38        <input type="submit" name="add-remove" value="Remove">
     39    </form></td>
     40</tr>
    2641{% endfor %}
    27 </ul>
     42</tbody>
     43</table>
    2844{% else %}
    2945<p>You are not currently indicating membership in any groups.</p>
Note: See TracChangeset for help on using the changeset viewer.