{% extends "layout.html.twig" %} {% block content %} {% set params = { columns: { name: "Név", age: "Kor", parentsConsent: "Szülői nyilatkozat", edit: "Szerkesztés", remove: "Törlés", }, rows: attendees, pagination: pagination, } %}
{% embed "embed/table_page.html.twig" with params %} {% block page_title %}

Állandó csoport - Résztvevők

{% import "macro.html.twig" as macro %} Tanári felelősségvállalási nyilatkozat Szülői nyilatkozat sablon
{% endblock %} {% block column_parentsConsent %} {{ label }}
Letöltés | Feltöltés {% endblock %} {% block cell_parentsConsent %}
{% if row.parentsConsent is not null %} {% endif %}
{% endblock %} {% block grid_body %} {% if attendees|length > 0 or form.vars['submitted'] %}
Új résztvevő hozzáadás
{% endif %} {{ parent() }} {% endblock %} {% block empty %} {% if form.vars['submitted'] %}
Nincs találat
{% else %}
{% endif %} {% endblock empty %} {% block cell_edit %} {% endblock %} {% block cell_remove %} {% endblock %} {% endembed %} {% embed "embed/modal.html.twig" with { id: "parentConsentModal" } %} {% block modal_content %} {{ form_start(parentsConsentForm, {attr: {class: "parentsConsentForm"}}) }} {{ parent() }} {{ form_end(parentsConsentForm) }} {% endblock %} {% block modal_title %} Szülői nyilatkozat feltöltése {% endblock %} {% block modal_body %} {{ form_row(parentsConsentForm.parentsConsent, {label: "Szülői nyilatkozat", attr: {lang: "hu"}}) }}
Maximális fájl méret: 2Mb
Elfogadott fájl formátum: png, pdf, jpeg
{{ form_row(parentsConsentForm.validParentsConsent, {label: "Szülői nyilatkozatot ellenőriztem", attr: {class: "validParentsConsents"}, label_attr: {class: 'checkbox-custom'}}) }} {{ form_row(parentsConsentForm.attendeeId, {attr: {class: "attendeeIdInput"}}) }} {% endblock %} {% block modal_footer %} {% endblock %} {% endembed %}
{% endblock %}