Created
January 21, 2011 14:47
-
-
Save dkln/789763 to your computer and use it in GitHub Desktop.
Easy adding/removing in nested forms for simple_form
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
%fieldset | |
%h3= PressRelease.model_name.human :count => 2 | |
= nested_fields_for form, :press_releases do |nested_form| | |
%fieldset | |
= nested_form.input :description | |
= nested_form.input :url | |
= nav_for_existing_record nested_form |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment