We are building, workplan now registered with statehub
This commit is contained in:
parent
14b0bc6d01
commit
f202b71c75
37 changed files with 2036 additions and 22 deletions
|
|
@ -0,0 +1,14 @@
|
|||
{% load vergabe_tags %}
|
||||
<div id="erfuellungsstatus-widget-{{ anforderung.pk }}" class="flex items-center gap-2">
|
||||
{% status_badge anforderung.erfuellungsstatus anforderung.get_erfuellungsstatus_display %}
|
||||
<select name="erfuellungsstatus"
|
||||
hx-post="{% url 'ausschreibungen:lose:anforderung_status' anforderung.ausschreibung_id anforderung.pk %}"
|
||||
hx-target="#erfuellungsstatus-widget-{{ anforderung.pk }}"
|
||||
hx-swap="outerHTML"
|
||||
hx-trigger="change"
|
||||
class="form-input text-xs py-0.5 h-7 w-auto">
|
||||
{% for val, label in anforderung.ERFUELLUNG_CHOICES %}
|
||||
<option value="{{ val }}" {% if val == anforderung.erfuellungsstatus %}selected{% endif %}>{{ label }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue