{% import "macros/buttons.html" as buttons %} {% import "macros/forms.html" as forms %} {% import "macros/modal.html" as modal %} {% import "macros/icons.html" as icons %} {% extends "admin/roles/list.html" %} {% block head_title_content %}Create Role ยท {{ super() }}{% endblock %} {% set open_modal = true %} {% block modal %}
{% call modal.header() %} {% call modal.title() %}Create Role{% endcall %} {% endcall %} {% call modal.body() %}
{{ forms.form_field(form.name) }} {{ forms.form_field(form.granted_by_default) }} {{ forms.form_field(form.permissions) }} {{ forms.form_csrf_token(form) }}
{% endcall %} {% call modal.footer() %} {% call buttons.submit('btn-sm') %} Create {% endcall %} {% endcall %}
{% endblock %}