Sha256: 9cdb6a25920874142093612a32c79165227fd187260efecbf369d2158fce5e2c

Contents?: true

Size: 1.15 KB

Versions: 4

Compression:

Stored size: 1.15 KB

Contents

= render 'fae/shared/index_header', title: "#{@klass_humanized.pluralize}"

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

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

Version data entries

4 entries across 4 versions & 1 rubygems

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