Általános adatok
{{ form_row(form.name, {label: "Neve"}) }}
{{ form_row(form.age, {label: "Életkora"}) }}
{{ macro.showFormIfExist(updateType, "sport", {label: "Sport választás"}) }}
{% if form.vars['project_name'] == 'ski' %}
{{ macro.showFormIfExist(updateType, "skiLevel", {label: "Sítudás / Snowboard tudás"}) }}
{% else %}
{{ macro.showFormIfExist(updateType, "skiLevel", {label: "Sítudás"}) }}
{% endif %}
{{ macro.showFormIfExist(updateType, "bacon", {label: "Szeretne-e szalonnátsütni a végén?"}) }}
{{ macro.showFormIfExist(updateType, "equipment", {label: "Amennyiben rendelkezik felszereléssel, kérjük jelöld be melyikekkel"}) }}
{% if updateType.equipment is defined %}
{{ form_row(updateType.equipment.children.0, {label_attr: {class: 'checkbox-custom'}}) }}
{{ form_row(updateType.equipment.children.1, {label_attr: {class: 'checkbox-custom'}}) }}
{{ form_row(updateType.equipment.children.2, {label_attr: {class: 'checkbox-custom'}}) }}
{% if updateType.equipment.children.3 is defined %}
{{ form_row(updateType.equipment.children.3, {label_attr: {class: 'checkbox-custom'}}) }}
{{ form_row(updateType.equipment.children.4, {label_attr: {class: 'checkbox-custom'}}) }}
{% endif %}
{% endif %}
{% if updateType.height is defined or
updateType.weight is defined or
updateType.hasSkate is defined or
updateType.headSize is defined or
updateType.feetSize is defined %}
Méretek
{% endif %}
{{ macro.showFormIfExist(updateType, "height", {label: "Magasság (cm)"}) }}
{{ macro.showFormIfExist(updateType, "weight", {label: "Testtömeg (kg)"}) }}
{{ macro.showFormIfExist(updateType, "hasSkate", {label: "Van korcsolyája?"}) }}
{{ macro.showFormIfExist(updateType, "headSize", {label: "Fejméret"}) }}
{{ macro.showFormIfExist(updateType, "feetSize", {label: "Lábméret"}) }}
{% if form.parentsConsent is defined %}
{{ form_row(form.parentsConsent, {label: "Szülői nyilatkozat", attr: {lang: "hu"}}) }}
{{ form_row(form.validParentsConsent, {label: "Szülői nyilatkozatot ellenőriztem", attr: {class: "validParentsConsents"}, label_attr: {class: 'checkbox-custom'}}) }}
{% endif %}
{% do updateType.setRendered() %}