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

Modifying the best practice to use form_start() instead of <form #4465

Closed
wants to merge 2 commits into from

Conversation

weaverryan
Copy link
Member

Q A
Doc fix? no
New docs? no
Applies to 2.3+
Fixed tickets #4402

Hi guys!

See #4402. This proposes recommending to use form_start for the reasons there. There are pros and cons, but after nice chat, I think the pros outweigh the cons.

/cc @webmozart

Thanks!

@@ -157,29 +157,15 @@ There are a lot of ways to render your form, ranging from rendering the entire
thing in one line to rendering each part of each field independently. The
best way depends on how much customization you need.

The simplest way - which is especially useful during development - is to render
the form tags manually and then use ``form_widget()`` to render all of the fields:
One of thhe simplest ways - which is especially useful during development -
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo here

@wouterj
Copy link
Member

wouterj commented Nov 18, 2014

Just pushed a typo fix for the typo discovered by @yguedidi. Ready to be merged now 👍

@weaverryan
Copy link
Member Author

Thanks Wouter and @yguedidi!

weaverryan added a commit that referenced this pull request Nov 20, 2014
… of <form (weaverryan, WouterJ)

This PR was submitted for the master branch but it was merged into the 2.3 branch instead (closes #4465).

Discussion
----------

Modifying the best practice to use form_start() instead of <form

| Q   | A
| --- | ---
| Doc fix? | no
| New docs? | no
| Applies to | 2.3+
| Fixed tickets | #4402

Hi guys!

See #4402. This proposes recommending to use `form_start` for the reasons there. There are pros and cons, but after nice chat, I think the pros outweigh the cons.

/cc @webmozart

Thanks!

Commits
-------

ae3b3cd Fixed typo
f1708f5 Modifying the best practice to use form_start() instead of <form
@weaverryan weaverryan closed this Nov 20, 2014
@wouterj wouterj deleted the best-practices-form branch November 20, 2014 22:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants