sonata-project / SonataPageBundle

This bundle provides a Site and Page management through container and block services
https://docs.sonata-project.org/projects/SonataPageBundle
MIT License
216 stars 209 forks source link

Use twig blocks for form rendering #703

Closed core23 closed 3 months ago

core23 commented 8 years ago

We should replace all <form> elements in the twig templates with the twig function form_start and form_end. We should also move the action and method (POST, GET) attribute to the PHP files.

This would decouples the business logic from the layout.

Todo

The following files contains form elements.

core23 commented 8 years ago

Depends on https://github.com/sonata-project/SonataAdminBundle/issues/4050, because we need to add something to the Datagrid.

stale[bot] commented 4 years ago

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

eerison commented 1 year ago

Hey @core23 I saw that Resources/views/base_layout.html.twig was already checked as solved, But do you know which PR was it done 👀

github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] commented 4 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.