2023-05-10 15:06:57 +05:30
|
|
|
{% load i18n %}
|
2024-03-25 10:08:53 +00:00
|
|
|
<div class="oh-modal__dialog-header">
|
|
|
|
|
<h2 class="oh-modal__dialog-title" id="createTitle">
|
|
|
|
|
{% trans "Create Shift Request" %}
|
|
|
|
|
</h2>
|
|
|
|
|
<button type="button" class="oh-modal__close" aria-label="Close">
|
|
|
|
|
<ion-icon name="close-outline"></ion-icon>
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- htmx form -->
|
|
|
|
|
<div class="oh-modal__dialog-body">
|
2023-05-10 15:06:57 +05:30
|
|
|
{% if messages %}
|
|
|
|
|
<div class="oh-alert-container">
|
|
|
|
|
{% for message in messages %}
|
|
|
|
|
<div class="oh-alert oh-alert--animated {{message.tags}}">
|
|
|
|
|
{{ message }}
|
2024-05-07 12:23:36 +05:30
|
|
|
</div>
|
2023-05-10 15:06:57 +05:30
|
|
|
{% endfor %}
|
|
|
|
|
</div>
|
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
|
|
<form action="{% url 'shift-request' %}" method='post'>
|
|
|
|
|
{% csrf_token %}
|
|
|
|
|
{{form}}
|
|
|
|
|
<input type="submit" value="{% trans 'Submit' %}" class='mt-4 btn oh-btn--secondary'>
|
|
|
|
|
</form>
|
2024-08-05 14:22:44 +05:30
|
|
|
</div>
|