Hi every one, i spent the day fighting and don't get the solution :(
I would like in my form--contact-us.html.twig get all my fields and their labels but separately, for now i have something like :
{{ element.group_info.field_issuer_civility }}
{{ element.group_info.field_issuer_last_name}}
{{ element.group_info.field_issuer_first_name}}
{{ element.group_info.field_email_contact}}
{{ element.form_id }}
{{ element.form_build_id }}
{{ element.form_token }}
{{ element.actions.submit }}
the problem is each field print a container then a form_element wrappel then the label and field, is there a way i acces directly and print only the label and field ? si i can place it exactly where i want in my html ?
Thanks in advance.
Comments
Perhaps this module will help
Perhaps this module will help: https://www.drupal.org/project/twig_field_value
Pimp your Drupal 8 Toolbar - make it badass.
Adaptivetheme - theming system for people who don't code.