button.html 497 B

12345678
  1. {% macro edit_button(modal_url, primary_key) %}
  2. <button type="button" class="btn btn-outline-secondary gc-verursacher-edit"
  3. hx-get="{{ modal_url }}" hx-target="#verursacher-modal-content" hx-swap="innerHTML" hx-push-url="false"
  4. hx-sync="#verursacher-modal:replace" aria-haspopup="dialog" aria-controls="verursacher-modal"
  5. aria-label="Verursacher für Beleg {{ primary_key }} ändern" title="Verursacher ändern">
  6. <i class="icon cil-pencil" aria-hidden="true"></i>
  7. </button>
  8. {% endmacro %}