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