Sha256: b11591f8f6653b6e91e7cd1655599546616b52feb873d5413a00be423488624a
Contents?: true
Size: 1.58 KB
Versions: 16
Compression:
Stored size: 1.58 KB
Contents
<% content_for :content_title, icon_label('font-comments', @forum_category.name) %> <% content_for :content_title_extra do %> <%= page_header_buttons do %> <%= link_to(icon_label(:edit, 'Edit'), [:edit, :admin, @forum_category], class: "btn btn-xs btn-default", title: 'Edit') %> <% end %> <% end %> <% toolbar = toolbar_btn(icons(:new), new_admin_forum_category_forum_path(@forum_category), title: 'New Forum', class: "btn btn-link btn-icon") %> <%= panel title: 'Forums', toolbar: toolbar, body: false do %> <div class="table-overflow"> <table id="drag_sort" class="table table-striped table-bordered table-block" data-update_url="<%= dm_forum.admin_forum_sort_path %>"> <thead> <tr> <th class="sort_handle"></th> <th>Name</th> <th>Associated Event</th> <th width="50">Type</th> <th width="50">Status</th> </tr> </thead> <tbody> <% @forum_category.forums.each do |forum| %> <% present forum do |forum_presenter| %> <tr class="item" data-item_id="<%= forum.id %>"> <td class="sort_handle"></td> <td> <%= link_to forum.name, [:admin, forum] %> <div class="description"> <%= forum.description %> </div> </td> <td><%= forum.owner.try(:title) %></td> <td><%= forum_presenter.visibility %></td> <td><%= forum_presenter.label_published %></td> </tr> <% end %> <% end %> </tbody> </table> </div> <% end %>
Version data entries
16 entries across 16 versions & 1 rubygems