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,15 @@
|
|||
{% load vergabe_tags %}
|
||||
<div id="status-widget-{{ ausschreibung.pk }}"
|
||||
class="flex items-center gap-2">
|
||||
{% status_badge ausschreibung.status ausschreibung.get_status_display %}
|
||||
<select name="status"
|
||||
hx-post="{% url 'ausschreibungen:status' ausschreibung.pk %}"
|
||||
hx-target="#status-widget-{{ ausschreibung.pk }}"
|
||||
hx-swap="outerHTML"
|
||||
hx-trigger="change"
|
||||
class="form-input text-xs py-0.5 h-7 w-auto">
|
||||
{% for val, label in ausschreibung.STATUS_CHOICES %}
|
||||
<option value="{{ val }}" {% if val == ausschreibung.status %}selected{% endif %}>{{ label }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue