Sha256: 78d7378c3501fd3757398c63ba5a1b3aef381fe54f2d499b2984bd8034472397

Contents?: true

Size: 725 Bytes

Versions: 1

Compression:

Stored size: 725 Bytes

Contents

<% if SupportCategory.none? %>
    <div><%= t('search_not_found') %>. <%= link_to t('browse_categories'), help_center.support_categories_path %> <%= t('instead') %> </div>
<% else %>
<div class="flex flex-wrap mb-8">
 
  <div class="md:w-full pr-4 pl-41">
    <h1 class="mb-4 font-bold tracking-normal"> Categories</h1>
 
     <div class="flex flex-col items-center">
    <% SupportCategory.all.sorted.each do |category| %>
  
     <%= link_to  help_center.support_category_path(category), class: "text-base font-semibold py-4 border-b w-full flex justify-between hover:bg-gray-200 px-4" do %>
       <%= category.name %> <i class="fas fa-arrow-right"></i>
     <% end %>

    <% end %>
    </div>
  </div>

</div>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
help_center-0.0.8 app/views/help_center/support_categories/index.html.erb