Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <%= form_for(:category,:url=>{:action=>'update',:id=>@category.id}) do |f|%>
- <div class="field">
- <b style="color: #808080;"> Cuisine name: </b>
- <%= f.select :cuisine_id,options_from_collection_for_select(@cuisines,"id","cuisine_name"),prompt:'select cuisine' %>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement