Guest User

Untitled

a guest
Dec 13th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. <form action="#" method="post" {{form_enctype(form)}}>
  2.  
  3. {% for subform in form.localizedData %}
  4. <section>
  5. <label>Section {{ subform.vars["label"] }}</label>
  6.  
  7. <h2>Titre</h2><br />
  8. {{ form_widget(subform.title) }}<br />
  9. <h2>Description</h2><br />
  10. {{ form_widget(subform.description) }}<br />
  11. </section>
  12. {% endfor %}
  13.  
  14. {{ form_rest(form) }}
  15. <input type="submit" value="Okaaaaaaaaaaaaaay" />
  16. </form>
Add Comment
Please, Sign In to add comment