templates/Elements/quiz-body-shapes-female.html.twig line 1

Open in your IDE?
  1. {%set bodyTypeData = form.bodyTypeFemale.vars.attr.bodyTypeData%}
  2. {% for child in form.bodyTypeFemale.children%}
  3.     <label class="introductory_popup_bodytype">
  4.     <input type="radio" name="{{child.vars.full_name}}" {{loop.index == 1 ? "checked" :""}} value="{{child.vars.value}}">
  5.     <div class="introductory_popup_bodytypebutton">
  6.         <div class="introductory_popup_bodytype_img introductory_popup_bodytype_female{{bodyTypeData[child.vars.value].number}}">
  7.         <div class="introductory_popup_bodytype_tip">{{bodyTypeData[child.vars.value].description}}</div>
  8.         </div>
  9.         <div class="introductory_popup_bodytype_img_title">{{child.vars.label}}</div>
  10.     </div>
  11.     </label>
  12. {%endfor%}