Sha256: 806034c6ac9ad513e2d17cae0f8edf8a6d29a8e763f9cd7bd9455f75f13187dc

Contents?: true

Size: 1.03 KB

Versions: 3

Compression:

Stored size: 1.03 KB

Contents

.page-header
  = link_to t('.new_link'), new_comfy_admin_archive_index_path(@site), class: 'btn btn-secondary float-right'
  %h2= t('.title')

= comfy_admin_partial "comfy/admin/blog/partials/indices_before"

= comfy_paginate @indices

%ul.list
  - @indices.each do |index|
    %li
      .row
        .col-md-8.item
          .item-content
            .item-title
              = link_to index.label, edit_comfy_admin_archive_index_path(@site, index)
            .item-meta
              - link = index.url
              = link_to link, link, target: "_blank"
              %br

        .col-md-4.d-flex.align-items-center.justify-content-md-end
          .btn-group.btn-group-sm
            = link_to t('.edit'), edit_comfy_admin_archive_index_path(@site, index), class: 'btn btn-outline-secondary'
            = link_to t('.delete'), comfy_admin_archive_index_path(@site, index), method: :delete, data: {confirm: t('.are_you_sure')}, class: 'btn btn-danger'

= comfy_paginate @indices

= comfy_admin_partial "comfy/admin/blog/partials/indices_after"

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
comfy_archive-0.3.0 app/views/comfy/admin/archive/indices/index.html.haml
comfy_archive-0.2.0 app/views/comfy/admin/archive/indices/index.html.haml
comfy_archive-0.1.1 app/views/comfy/admin/archive/indices/index.html.haml