Files
dumas_gestion/mondumas/templates/members_adr.pt
2017-03-06 17:58:18 +01:00

30 lines
818 B
XML

<metal:block use-macro="main_template">
<div metal:fill-slot="content">
<div class="form-group">
<div class="row">
<form method="POST" id="frm">
<div class="col-md-3">
<select class="form-control" id="valide" name="valide" onChange="$('#frm').submit()">
<optgroup tal:repeat="item types">
<option value="${item}" tal:attributes="selected type==item and 'selected' or None">${item}</option>
</optgroup>
</select>
</div>
</form>
</div>
</div>
<br />
<p>Tổng cộng : <span class="text-right text-danger">${total}</span></p>
<div class="row">
<ul tal:repeat="adr adresses">
${adr.email},<br />
</ul
</div>
</div><!-- content -->
</metal:block>