Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <ul id="breadcrumb">
- <li><%= link_to h(preferences.site_name), root_path %></li>
- <% for ancestor in @category.ancestors %>
- <li><span class="arrow">></span><%= link_to ancestor.name, category_path(ancestor) %></li>
- <% end %>
- <li><span class="arrow">></span><%= @category.name %></li>
- <% if flash[:notice] %>
- <li><span class="arrow">></span><%= h flash[:notice] %></li>
- <% end %>
- <% if flash[:error] %>
- <li><span class="arrow">></span><%= h flash[:error] %></li>
- <% end %>
- </ul>
- <div id="content">
- <h1><%= h @category %></h1>
- <ul class="options-header">
- <li><%= link_to t(:"feed") %></li>
- </ul>
- <% if !@category.forums.empty? %>
- <table>
- <tr>
- <th><%= t :"forum" %></th>
- <th><%= t :"type" %></th>
- <th><%= t :"postings" %></th>
- </tr>
- <%= render :partial => @category.forums %>
- </table>
- <% else %>
- <p><%= t :"nothing_here_yet" %></p>
- <% end %>
- </div>
Add Comment
Please, Sign In to add comment