Listing selections

<% @selections.each do |selection| %> <% end %>
Name Parent System code Position Is default Is system
<%= selection.name %> <%= selection.parent_id %> <%= selection.system_code %> <%= selection.position %> <%= selection.is_default %> <%= selection.is_system %> <%= link_to 'Show', selection %> <%= link_to 'Edit', edit_selection_path(selection) %> <%= link_to 'Destroy', selection, confirm: 'Are you sure?', method: :delete %>

<%= link_to 'New Selection', new_selection_path %>