- add only buy with rfid option

This commit is contained in:
Ulrich Knechtelsdorfer
2016-07-01 17:03:23 +02:00
parent 042d0c86fa
commit 9f3ee93be9
8 changed files with 47 additions and 22 deletions

View File

@@ -13,6 +13,7 @@
<th>Baron</th>
<th>Angezeigt</th>
<th>Auto-Schwärzen</th>
<th>Nur RFID Kreuzen</th>
<th></th>
</tr>
{% for user in users %}
@@ -26,6 +27,7 @@
<td>{% if user.isbaron %} &#9745; {% else %} &#9744; {% endif %} </td>
<td>{% if user.isshown %} &#9745; {% else %} &#9744; {% endif %} </td>
<td>{% if user.autoblack %} &#9745; {% else %} &#9744; {% endif %} </td>
<td>{% if user.onlyrfid %} &#9745; {% else %} &#9744; {% endif %} </td>
<td> <a href="/manage_users/edit/{{user.name}}">bearbeiten</a></td>
</tr>
{% endfor %}

View File

@@ -18,6 +18,7 @@
Baron: <input type="checkbox" name="isbaron" {% if user_to_edit.isbaron %} checked {% endif %} /> <br>
Angezeigt: <input type="checkbox" name="isshown" {% if user_to_edit.isshown %} checked {% endif %} /><br>
Auto-Schwärzen: <input type="checkbox" name="autoblack" {% if user_to_edit.autoblack %} checked {% endif %} /><br>
Nur mit RFID Kreuzen: <input type="checkbox" name="onlyrfid" {% if user_to_edit.onlyrfid %} checked {% endif %} /><br>
<input type="submit" value="Übernehmen" />
</form>
{% endif %}