diff options
| author | Étienne Loks <etienne.loks@peacefrogs.net> | 2011-01-14 14:55:41 +0100 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@peacefrogs.net> | 2011-01-14 14:55:41 +0100 |
| commit | 851e8b81898279079c14c4c0c3580699f9bb9998 (patch) | |
| tree | 65cc22967af05ef7f9f8b61ca49b992b92dd8b0e /ishtar/templates/base.html | |
| parent | 8713dc19cb4ae5c7d2539add214e6b2c4f5ac670 (diff) | |
| download | Ishtar-851e8b81898279079c14c4c0c3580699f9bb9998.tar.bz2 Ishtar-851e8b81898279079c14c4c0c3580699f9bb9998.zip | |
Implementation of default operations (refs #16)
Diffstat (limited to 'ishtar/templates/base.html')
| -rw-r--r-- | ishtar/templates/base.html | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/ishtar/templates/base.html b/ishtar/templates/base.html index 2b2b440c8..e726cf782 100644 --- a/ishtar/templates/base.html +++ b/ishtar/templates/base.html @@ -37,15 +37,19 @@ <form method="post" action="{% url update-current-item %}"> <fieldset> <legend>{% trans "Default items"%}</legend> - <ul id='current_items'> + <table id='current_items'> {% for lbl, model_name, items in current_menu %} - <li><label for="current_{{model_name}}">{{lbl}}</label> - <select id='current_{{model_name}}'> - <option value=''>--</option> - {% for val, label, selected in items %}<option value='{{val}}'{%if selected%} selected="selected"{%endif%}>{{label}}</option> - {% endfor %}</select></li> + <tr> + <td><label for="current_{{model_name}}">{{lbl}}</label></td> + <td> + <select id='current_{{model_name}}'> + <option value=''>--</option> + {% for val, label, selected in items %}<option value='{{val}}'{%if selected%} selected="selected"{%endif%}>{{label}}</option> + {% endfor %}</select> + </td> + </tr> {% endfor %} - </ul> + </table> </fieldset> </form> {% endif %}{% endblock %} |
