{% load i18n %}
<div class="oh-modal__dialog-header">
  <span class="oh-modal__dialog-title" id="createModalLabel"
    >{% trans "Allowances" %}</span
  >
  <button type="button" class="oh-modal__close" aria-label="Close">
    <ion-icon name="close-outline"></ion-icon>
  </button>
</div>

<div class="oh-modal__dialog-body">
  <form
    hx-post="{% url 'add-bonus' %}?employee_id={{employee_id}}&payslip_id={{payslip_id}}"
    hx-target="#objectCreateModalTarget"
    class="oh-profile-section"
  >
    {{ form.as_p }}
    <div class="oh-modal__dialog-footer p-0">
      <button
        type="submit"
        class="oh-btn oh-btn--secondary mt-2 mr-0 oh-btn--w-100-resp"
      >
        {% trans "Add" %}
      </button>
    </div>
  </form>
</div>
