2018-05-08 09:12:16 +00:00
|
|
|
{% for group in groups %}
|
2021-08-02 08:19:22 +00:00
|
|
|
<tr id="group-{{ group.group_id }}" class="newgroup">
|
2018-05-08 09:12:16 +00:00
|
|
|
<td class="padding10 first-collumn">
|
2021-08-02 08:19:22 +00:00
|
|
|
<input type="text" id="name-{{ group.group_id }}" value="{{ group.name }}" class="form-control">
|
2018-05-08 09:12:16 +00:00
|
|
|
</td>
|
2019-10-25 07:18:57 +00:00
|
|
|
<td style="width: 100%;">
|
2021-08-02 08:19:22 +00:00
|
|
|
{% if group.description is not none %}
|
|
|
|
<input type="text" id="descript-{{ group.group_id }}" value="{{ group.description }}" class="form-control" size="60">
|
2020-08-07 15:14:59 +00:00
|
|
|
{% else %}
|
2021-08-02 08:19:22 +00:00
|
|
|
<input type="text" id="descript-{{ group.group_id }}" class="form-control" size="60">
|
2020-08-07 15:14:59 +00:00
|
|
|
{% endif %}
|
2018-05-08 09:12:16 +00:00
|
|
|
</td>
|
|
|
|
<td>
|
2021-08-02 08:19:22 +00:00
|
|
|
<a class="delete" onclick="confirmDeleteGroup({{ group.group_id }})" style="cursor: pointer;"></a>
|
2018-05-08 09:12:16 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|