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

Convert simple_form input using wrapper_options #393

Closed
steveyken opened this issue Jan 6, 2015 · 0 comments
Closed

Convert simple_form input using wrapper_options #393

steveyken opened this issue Jan 6, 2015 · 0 comments
Assignees

Comments

@steveyken
Copy link
Member

Reading heartcombo/simple_form#997 we need to update our simple form field updates from

def input

to

def input(wrapper_options)

and then can use

text = @builder.text_field(field.name, merge_wrapper_options(input_html_options, wrapper_options))

instead of

text = @builder.text_field(field.name, input_html_options)
@steveyken steveyken self-assigned this Jan 6, 2015
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

No branches or pull requests

1 participant