You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
haproxy-wi/app/templates/ajax/show_user_current_group.html

15 lines
434 B

<tr>
<td class="padding20" style="width: 70%">Current group</td>
<td>
<select id="newCurrentGroup" name="newCurrentGroup" >
{% for g in groups %}
{% if g.user_group_id|string() == group|string() %}
<option value="{{ g.user_group_id }}" selected>{{ g.groups.name }}</option>
{% else %}
<option value="{{ g.user_group_id }}">{{ g.groups.name }}</option>
{% endif %}
{% endfor %}
</select>
</td>
</tr>