Last active
May 19, 2018 15:38
-
-
Save inneroot/a19328bffcfd5c673de90160c9a951ee to your computer and use it in GitHub Desktop.
Select form for collection of objects with _form Action View Helper
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
| <div class="field"> | |
| <%= form.label :topmenuitem_id %> | |
| <%= form.collection_select(:topmenuitem_id, @menuitems.all, :id, :title) %> | |
| </div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment