Sha256: f2c5268d4c24e2947d6427da8abd46be10d620d1393caf8704ac722acafa62b7

Contents?: true

Size: 565 Bytes

Versions: 5

Compression:

Stored size: 565 Bytes

Contents

- content_for :header_actions do
  %span
    = link_to spina.new_admin_conferences_blog_category_path, class: 'button button-primary', style: 'margin-right: 0' do
      = icon 'plus'
      = t 'spina.blog.categories.new'



.table-container
  %table.table
    %thead
      %tr
        %th Category name
        %th

    %tbody
      - if @categories.any?
        = render partial: 'category', collection: @categories, as: :category

      - else
        %tr
          %td.align-center{colspan: 2}
            %em There are no categories yet. Create your first one!

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
spina-admin-conferences-blog-0.1.4 app/views/spina/admin/conferences/blog/categories/index.html.haml
spina-admin-conferences-blog-0.1.3 app/views/spina/admin/conferences/blog/categories/index.html.haml
spina-admin-conferences-blog-0.1.2 app/views/spina/admin/conferences/blog/categories/index.html.haml
spina-admin-conferences-blog-0.1.1 app/views/spina/admin/conferences/blog/categories/index.html.haml
spina-admin-conferences-blog-0.1.0 app/views/spina/admin/conferences/blog/categories/index.html.haml