<% content_for :title, "Edit Document Category #{@document_category.name}" %> <% content_for :header_left do %> <%= content_tag :h1, [ link_to('Document Categories', admin_document_categories_path), @document_category.name ].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 %>