Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Formulaires : homogénéiser et simplifier #1092

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

raphodn
Copy link
Member

@raphodn raphodn commented Dec 14, 2023

Quoi ?

Modifications apportées :

  • utiliser form_row au maximum
  • l'englober dans un row + col
  • mettre les formulaire dans des template dédiés _partial/form.html.twig

Documentation

https://symfony.com/doc/current/form/form_customization.html

  • form_row : Renders the "row" of a given field, which is the combination of the field's label, errors, help and widget.
  • form_widget : Renders the HTML widget of a given field. If you apply this to an entire form or collection of fields, each underlying form row will be rendered.

@raphodn raphodn self-assigned this Dec 14, 2023
@raphodn raphodn marked this pull request as draft December 14, 2023 08:39
@raphodn raphodn removed the request for review from petitalb December 14, 2023 08:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant