We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Have an issue really similar to http://stackoverflow.com/questions/37538519/using-forms-for-with-rails-cells-gem but with erb and rails 3.
The text was updated successfully, but these errors were encountered:
Same here - I use cells + cells-erb with rails 3 and the form_tag-output is escaped - did you (or anyone else) find any fix for this in the meantime?
form_tag
Sorry, something went wrong.
in config/initializers/cells.rb you can write:
module Cell module Erb def form_tag_in_block(html_options, &block) content = capture(&block) "#{form_tag_html(html_options)}" << content.to_s << "</form>" end end end
and it should works
Awesome dude - that worked like a charm - thanks a lot!
No branches or pull requests
Have an issue really similar to http://stackoverflow.com/questions/37538519/using-forms-for-with-rails-cells-gem but with erb and rails 3.
The text was updated successfully, but these errors were encountered: