Sha256: 5a069bdd4448818b4f6781d9c26041ddf50ea9b304b5a0cc14c58188eb641a21

Contents?: true

Size: 953 Bytes

Versions: 4

Compression:

Stored size: 953 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_path(item)
                td = fae_date_format item.updated_at
                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
          - 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/teams/index.html.slim
fae-rails-1.2.4 spec/dummy/app/views/admin/teams/index.html.slim
fae-rails-1.2.3 spec/dummy/app/views/admin/teams/index.html.slim
fae-rails-1.2.2 spec/dummy/app/views/admin/teams/index.html.slim