Sha256: c502cdbf79beb483ea865b39c5d1c3d59046877e0d2619eded32c01f28a7449e

Contents?: true

Size: 1.58 KB

Versions: 4

Compression:

Stored size: 1.58 KB

Contents

<%= render 'fae/shared/index_header', title: @klass_humanized.pluralize, csv: true %>

<div class="main_content-sections">
  <section class="main_content-section">
    <div class="main_content-section-area">
      <table class="index_table main_content-sortable">
        <thead>
          <tr>
            <th class="main_content-sortable-handle-col"></th>
            <th>Name</th>
            <th>Modified</th>
            <th class="main_table-header-live" data-sorter="false">On Stage</th>
            <th class="main_table-header-live" data-sorter="false">On Prod</th>
            <th class="main_table-header-delete" data-sorter="false">Delete</th>
          </tr>
        </thead>

        <tbody>
          <% @items.each do |item| %>
            <tr id="<%= "#{@klass_singular}_#{item.id}" %>">
              <td class="main_content-sortable-handle">
                <span class="icon-sort"></span>
              </td>
              <td class="main_table-description-item"><%= link_to item.fae_display_field, edit_admin_varietal_path(item) %></td>
              <td><%= fae_date_format item.updated_at %></td>
              <td><%= fae_toggle item, :on_stage %></td>
              <td><%= fae_toggle item, :on_prod %></td>
              <td class="main_table-delete">
                <%= link_to ['admin', item], method: :delete, data: { confirm: t('fae.delete_confirmation') }, class: 'main_table-action' do %>
                  <span class="icon-delete_x"></span>
                <% end %>
              </td>
            </tr>
          <% end %>
        </tbody>
      </table>
    </div>
  </section>
</div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fae-rails-1.2.5 spec/dummy/app/views/admin/varietals/index.html.erb
fae-rails-1.2.4 spec/dummy/app/views/admin/varietals/index.html.erb
fae-rails-1.2.3 spec/dummy/app/views/admin/varietals/index.html.erb
fae-rails-1.2.2 spec/dummy/app/views/admin/varietals/index.html.erb