1 <% content_for :page_title do %>
2 <%= controller.model_class.to_s.pluralize.underscore.capitalize.gsub('_', ' ') %>
5 <% content_for :tab_line_buttons do %>
7 <% if controller.model_class.creatable? %>
8 <%= button_to "Add a new #{controller.model_class.to_s.underscore.gsub '_', ' '}",
9 { action: 'create', return_to: request.url },
10 { class: 'btn btn-primary pull-right' } %>
15 <%= render partial: 'content', layout: 'content_layout', locals: {pane_list: controller.index_pane_list }%>