Sha256: be7f37068744c3718a3b409709bb436c637f3c48c71542c58ecbe6064b109f18

Contents?: true

Size: 661 Bytes

Versions: 2

Compression:

Stored size: 661 Bytes

Contents

<%= render Spina::UserInterface::HeaderComponent.new do |header| %>
  <% header.after_breadcrumbs do %>
    <%= link_to spina.new_admin_conferences_blog_category_path, class: 'btn btn-default h-8 px-2 ml-3' do %>
      <%= heroicon('plus', style: :solid, class: 'w-6 h-6') %>
    <% end %>
  <% end %>
<% end %>

<div class="p-8">
  <% if @categories.any? %>
    <div class="shadow-sm border border-gray-200 bg-white rounded-lg">
      <%= render partial: 'category', collection: @categories, as: :category %>
    </div>
  <% else %>
    <div class="text-gray-700 italic">
      There are no categories yet. Create your first one!
    </div>
  <% end %>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spina-admin-conferences-blog-0.3.1 app/views/spina/admin/conferences/blog/categories/index.html.erb
spina-admin-conferences-blog-0.2.0 app/views/spina/admin/conferences/blog/categories/index.html.erb