16 lines
524 B
HTML
16 lines
524 B
HTML
{% load i18n %}
|
|
<form action="{% url 'shift-request-update' form.instance.id %}" method='post'>
|
|
<div id="updateformBody">
|
|
{{form.as_p}}
|
|
</div>
|
|
<div class="d-flex flex-row-reverse w-100 align-items-right mt-4">
|
|
<button
|
|
type="submit"
|
|
class="oh-btn oh-btn--secondary pl-5 pr-5"
|
|
hx-post="{% url 'shift-request-update' form.instance.id %}"
|
|
hx-target="#shiftRequestModalUpdateBody"
|
|
>
|
|
{% trans "Save" %}
|
|
</button>
|
|
</div>
|
|
</form> |