Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <h1>New gift_list</h1>
- <%= error_messages_for :gift_list %>
- <% form_for(@gift_list) do |f| %>
- <p>
- <b>Name</b><br />
- <%= f.text_field :name %>
- </p>
- <p>
- <b>User</b><br />
- <%= f.text_field :user_id %>
- </p>
- <p>
- <%= f.submit "Create" %>
- </p>
- <% end %>
- <%= link_to 'Back', gift_lists_path %>
Add Comment
Please, Sign In to add comment