Created
April 21, 2011 19:19
-
-
Save mhenrixon/935282 to your computer and use it in GitHub Desktop.
The code that doesn't work with client side validations
This file contains 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
=semantic_form_for [:admin,@frame], validate: true do |f| | |
=f.inputs do | |
=f.input :collection | |
=f.input :collection_id, as: :select, collection: @collections, label: 'Choose Collection' | |
=f.input :category, as: :select, collection: ['', 'Indoors', 'Outdoors'], label: "Select category" | |
=f.input :name | |
=f.buttons |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment