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

3.0 FormHelper submit #2943

Merged
merged 4 commits into from
Mar 4, 2014
Merged

3.0 FormHelper submit #2943

merged 4 commits into from
Mar 4, 2014

Conversation

markstory
Copy link
Member

Part of #2267. When the tests for this method were re-enabled the method was not cleaned up and made consistent with other parts of the helper. These changes help address that and make the submit() method use templates like other parts of FormHelper.

They have been systematically removed from the helper. They have been
replaced everywhere with templates.
Templates should be used instead.
@markstory markstory added this to the 3.0.0 milestone Mar 4, 2014
$options['name'] . '_x', $options['name'] . '_y'
);
$unlockFields = [
$options['name'] . '_x',
Copy link
Member

Choose a reason for hiding this comment

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

Do you remember what wa the purpose of this?

Copy link
Member Author

Choose a reason for hiding this comment

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

I do! Image submits post 2 values instead of 1. They submit the x & y co-ordinates the user clicked on the image. When we're dealing with secured forms we need to hash the fields we'll get in the end.

Copy link
Member

Choose a reason for hiding this comment

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

Interesting, did not know that

Copy link
Member

Choose a reason for hiding this comment

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

Shows how long it's been since using image submits has gone out of fashion 😛

Copy link
Member Author

Choose a reason for hiding this comment

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

Whatever, image submits 4 lyfe!

lorenzo added a commit that referenced this pull request Mar 4, 2014
@lorenzo lorenzo merged commit d6175bb into 3.0 Mar 4, 2014
@lorenzo lorenzo deleted the 3.0-submit branch March 4, 2014 18:23
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.

3 participants