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

Fixes #13757 - spilt layout helper into two helpers #3202

Closed
wants to merge 1 commit into from

Conversation

amirfefer
Copy link
Member

Layout helper is too large, all the forms logic moved to form helper

@dLobatog
Copy link
Member

@amirfefer Thanks, notice tests are failing

@amirfefer
Copy link
Member Author

[test]

@tbrisker
Copy link
Member

@amirfefer there are a few methods in ApplicationHelper which should also be moved to FormHelper

Layout helper is too large, all the forms logic moved to form helper
@amirfefer
Copy link
Member Author

@tbrisker link_to_remove_fields and link_to_add_fields methods moved to FormHelper

@tbrisker tbrisker self-assigned this Mar 17, 2016
end
end

def addClass(options = {}, new_class = '')
Copy link
Member

Choose a reason for hiding this comment

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

This should stay in layout helper

Copy link
Member

Choose a reason for hiding this comment

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

Ok, nevermind, looks like this is only used in the form helper.

@tbrisker
Copy link
Member

@amirfefer Looks good, just one function you accidentally moved to FormHelper, will merge once you move it back.

@tbrisker
Copy link
Member

Merged as 3952cb5, thanks @amirfefer!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants