Sha256: 61062bf48005b32c3430f24b1379675ca00206851a2cf6e5238b4375d9f99d76

Contents?: true

Size: 740 Bytes

Versions: 1

Compression:

Stored size: 740 Bytes

Contents

== render 'fae/shared/index_header', title: @klass_humanized.pluralize.titleize

main.content
  table.js-sort-column
    thead
      tr
        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"

    tbody
      - if @items.present?
        - @items.each do |item|
          tr id=fae_sort_id(item)
            td = link_to item.fae_display_field, edit_admin_beer_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
      - else
        tr: td colspan="5" No items found

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fae-rails-1.6.0 spec/dummy/app/views/admin/beers/index.html.slim