Created
May 30, 2014 06:38
-
-
Save 2get/c7850c56cd2bd187c86b to your computer and use it in GitHub Desktop.
How to add attribute to the form tag in simple_form
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%= simple_form_for(@user, html: { role: 'form' }) do |f| %> | |
<% end %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment