Sha256: 08c7083df8de7c5b2ef9d053fde3657db16f1a6483b73036eb95c2becfbb73fb

Contents?: true

Size: 988 Bytes

Versions: 4

Compression:

Stored size: 988 Bytes

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_table-sort_columns
        thead
          tr
            th Name
            th Modified
            th.main_table-header-delete data-sorter="false" Delete

        tbody
          - if @items.present?
            - @items.each do |item|
              tr id="#{@klass_singular}_#{item.id}"
                td.main_table-description-item
                  = link_to item.fae_display_field, edit_admin_team_player_path(@parent_item, item)
                td = fae_date_format item.updated_at
                td.main_table-delete
                  = link_to ['admin', @parent_item, item], method: :delete, data: { confirm: t('fae.delete_confirmation') }, class: 'main_table-action' do
                    span.icon-delete_x
          - else
            tr
              td colspan="3" No items found

Version data entries

4 entries across 4 versions & 1 rubygems

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