This commit is contained in:
@@ -60,16 +60,16 @@
|
|||||||
</td>
|
</td>
|
||||||
<td>{{ t.kurz }}</td>
|
<td>{{ t.kurz }}</td>
|
||||||
<td colspan="3">
|
<td colspan="3">
|
||||||
<form method="post" action="{{ url_for('tablets_speichern', tablet_id=t.id) }}#tablet-{{ t.id }}" class="tablet-form" id="tf{{ t.id }}">
|
<form method="post" action="{{ url_for('tablets_speichern', tablet_id=t.id) }}#tablet-{{ t.id }}" class="tablet-form" id="tf{{ t.id }}" autocomplete="off">
|
||||||
<input type="text" name="name" value="{{ t.name or '' }}" maxlength="60" aria-label="Name">
|
<input type="text" name="name" value="{{ t.name or '' }}" maxlength="60" aria-label="Name" autocomplete="off">
|
||||||
<select name="ziel_typ" aria-label="Ziel">
|
<select name="ziel_typ" aria-label="Ziel" autocomplete="off">
|
||||||
<option value="" {% if not t.ziel_typ %}selected{% endif %}>– nicht zugeordnet –</option>
|
<option value="" {% if not t.ziel_typ %}selected{% endif %}>– nicht zugeordnet –</option>
|
||||||
{% for wert, label in ziele.items() %}
|
{% for wert, label in ziele.items() %}
|
||||||
<option value="{{ wert }}" {% if t.ziel_typ == wert %}selected{% endif %}>{{ label }}</option>
|
<option value="{{ wert }}" {% if t.ziel_typ == wert %}selected{% endif %}>{{ label }}</option>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</select>
|
</select>
|
||||||
<select name="maschine_id" aria-label="Maschine">
|
<select name="maschine_id" aria-label="Maschine" autocomplete="off">
|
||||||
<option value="">–</option>
|
<option value="" {% if not t.maschine_id %}selected{% endif %}>–</option>
|
||||||
{% for m in maschinen %}
|
{% for m in maschinen %}
|
||||||
<option value="{{ m.id }}" {% if t.maschine_id == m.id %}selected{% endif %}>{{ m.name or ('Maschine ' ~ m.id) }}</option>
|
<option value="{{ m.id }}" {% if t.maschine_id == m.id %}selected{% endif %}>{{ m.name or ('Maschine ' ~ m.id) }}</option>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|||||||
Reference in New Issue
Block a user