Sha256: 58ca439fc3e171c0bf358aca0785b3be247f27d0d1dd0d461e32cce2d2958046

Contents?: true

Size: 750 Bytes

Versions: 7

Compression:

Stored size: 750 Bytes

Contents

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

main.content
  table.main_content-sortable
    thead
      tr
        th.th-sortable-handle
        th Name
        th.-action-wide Modified
        th.-action-wide data-sorter="false" On Stage
        th.-action-wide data-sorter="false" On Prod
        th.-action data-sorter="false" Delete

    tbody
      - @items.each do |item|
        tr id="#{@klass_singular}_#{item.id}"
          td.sortable-handle
            i.icon-sort
          td = 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 = fae_delete_button item

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
fae-rails-1.6.0 spec/dummy/app/views/admin/wines/index.html.slim
fae-rails-1.5.1 spec/dummy/app/views/admin/wines/index.html.slim
fae-rails-1.5.0 spec/dummy/app/views/admin/wines/index.html.slim
fae-rails-1.4.1 spec/dummy/app/views/admin/wines/index.html.slim
fae-rails-1.4.0 spec/dummy/app/views/admin/wines/index.html.slim
fae-rails-1.3.1 spec/dummy/app/views/admin/wines/index.html.slim
fae-rails-1.3.0 spec/dummy/app/views/admin/wines/index.html.slim