{% load i18n %}
<div class="oh-modal__dialog-header">
  <h2 class="oh-modal__dialog-title" id="objectCreateModalLabel">
    {% trans "Hour Account" %}
  </h2>
  <button class="oh-modal__close" aria-label="Close">
    <ion-icon name="close-outline"></ion-icon>
  </button>
</div>

<div class="oh-modal__dialog-body">
  <form
    id="add-form"
    hx-post="{% url 'attendance-overtime-create' %}"
    hx-target="#objectCreateModalTarget"
    hx-swap="innerHTML"
    >
    {{form.as_p}}
  </form>
</div>
