Sha256: ed4e3e9a754b545d758474e7f466f018d5102b12f9da62c3034dd14fe60398b7
Contents?: true
Size: 982 Bytes
Versions: 12
Compression:
Stored size: 982 Bytes
Contents
<% content_for :thredded_page_title, t('thredded.messageboard.index.page_title') %> <% content_for :thredded_page_id, 'thredded--messageboards-index' %> <% content_for :thredded_breadcrumbs, render('thredded/shared/breadcrumbs') %> <%= thredded_page do %> <section class="thredded--main-section thredded--messageboards"> <% @groups.each do |group| %> <% if group.name.present? %> <h3><%= group.name %></h3> <% end %> <%= render group.messageboards %> <% end %> <div class="thredded--messageboards--actions"> <% if policy(Thredded::Messageboard.new).create? %> <a class="thredded--button" href="<%= new_messageboard_path %>"><%= t('thredded.messageboard.create') %></a> <% end %> <% if policy(Thredded::MessageboardGroup.new).create? %> <a class="thredded--button" href="<%= new_messageboard_group_path %>"><%= t('thredded.messageboard_group.create') %></a> <% end %> </div> </section> <% end %>
Version data entries
12 entries across 12 versions & 1 rubygems