Guest User

Untitled

a guest
May 23rd, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.95 KB | None | 0 0
  1. <ul id="breadcrumb">
  2. <li><%= link_to h(preferences.site_name), root_path %></li>
  3. <% for ancestor in @category.ancestors %>
  4. <li><span class="arrow">></span><%= link_to ancestor.name, category_path(ancestor) %></li>
  5. <% end %>
  6. <li><span class="arrow">></span><%= @category.name %></li>
  7. <% if flash[:notice] %>
  8. <li><span class="arrow">></span><%= h flash[:notice] %></li>
  9. <% end %>
  10. <% if flash[:error] %>
  11. <li><span class="arrow">></span><%= h flash[:error] %></li>
  12. <% end %>
  13. </ul>
  14. <div id="content">
  15. <h1><%= h @category %></h1>
  16. <ul class="options-header">
  17. <li><%= link_to t(:"feed") %></li>
  18. </ul>
  19. <% if !@category.forums.empty? %>
  20. <table>
  21. <tr>
  22. <th><%= t :"forum" %></th>
  23. <th><%= t :"type" %></th>
  24. <th><%= t :"postings" %></th>
  25. </tr>
  26. <%= render :partial => @category.forums %>
  27. </table>
  28. <% else %>
  29. <p><%= t :"nothing_here_yet" %></p>
  30. <% end %>
  31. </div>
Add Comment
Please, Sign In to add comment