Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <h1>Editing platform</h1>
- <% form_for(@platform) do |f| %>
- <%= f.error_messages %>
- <p>
- <%= f.label :title %><br />
- <%= f.text_field :title %>
- </p>
- <p>
- <%= f.label :preset_id %><br />
- <% #debugger %>
- <%= collection_select(:platform, :id, @platform, :id, :title)%>
- </p>
- <p>
- <%= f.submit 'Update' %>
- </p>
- <% end %>
- <%= link_to 'Show', @platform %> |
- <%= link_to 'Back', platforms_path %>
Add Comment
Please, Sign In to add comment