<% content_for :title, 'New Document Category' %> <% content_for :header_left do %> <%= content_tag :h1, [ link_to('Document Categories', admin_document_categories_path), 'New' ].join(' / ').html_safe %> <% end %> <%= render partial: 'admin/shared/header' %> <%= content_tag :div, class: 'row' do %> <%= content_tag :div, class: 'col col-md-8' do %> <%= render "form", document_category: @document_category %> <% end %> <% end %>