Sha256: 772b7b49b5c7d55564c732619b3a7ecd467d08b00a4cccb7e21706aeb1003e67

Contents?: true

Size: 785 Bytes

Versions: 9

Compression:

Stored size: 785 Bytes

Contents

<h1>Listing helper_items</h1>

<table>
  <tr>
    <th>Master</th>
    <th>Master type</th>
    <th>Name</th>
    <th>Content for</th>
    <th>Content</th>
    <th></th>
    <th></th>
    <th></th>
  </tr>

<% @helper_items.each do |helper_item| %>
  <tr>
    <td><%= helper_item.master_id %></td>
    <td><%= helper_item.master_type %></td>
    <td><%= helper_item.name %></td>
    <td><%= helper_item.content_for %></td>
    <td><%= helper_item.content %></td>
    <td><%= link_to 'Show', helper_item %></td>
    <td><%= link_to 'Edit', edit_helper_item_path(helper_item) %></td>
    <td><%= link_to 'Destroy', helper_item, :method => :delete, :data => { :confirm => 'Are you sure?' } %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New Helper item', new_helper_item_path %>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
advert_selector-3.0.1 app/views/advert_selector/helper_items/index.html.erb
advert_selector-3.0.0 app/views/advert_selector/helper_items/index.html.erb
advert_selector-2.0.1 app/views/advert_selector/helper_items/index.html.erb
advert_selector-2.0.0 app/views/advert_selector/helper_items/index.html.erb
advert_selector-1.0.4 app/views/advert_selector/helper_items/index.html.erb
advert_selector-1.0.3 app/views/advert_selector/helper_items/index.html.erb
advert_selector-1.0.2 app/views/advert_selector/helper_items/index.html.erb
advert_selector-1.0.1 app/views/advert_selector/helper_items/index.html.erb
advert_selector-1.0.0 app/views/advert_selector/helper_items/index.html.erb