- content_for :breadcrumbs do
  %ol.breadcrumb
    %li= link_to 'Home', root_path
    %li= link_to <%= class_name %>.model_name.human.pluralize, <%= index_helper %>_path
    %li.active= <%= class_name %>.model_name.human

.container
  .page-header.clearfix
    %h1.pull-left= <%= class_name %>.model_name.human
    .pull-right{ :style => 'margin-top: 20px' }
      = link_to edit_<%= singular_table_name %>_path(@<%= singular_table_name %>), :class => 'btn btn-default pull-right' do
        %i.glyphicon.glyphicon-edit
        = "Edit #{<%= class_name %>.model_name.human}"

  %p#notice= notice

  <%- for attribute in attributes -%>
  %dl.dl-horizontal
    %dt= <%= class_name %>.human_attribute_name(:<%= attribute.name %>)
    %dd= @<%= singular_table_name %>.<%= attribute.name %>
  <%- end -%>

- content_for :breadcrumbs do
  %ol.breadcrumb
    %li= link_to 'Home', root_path
    %li= link_to <%= class_name %>.model_name.human.pluralize, <%= index_helper %>_path
    %li.active= <%= class_name %>.model_name.human

.container
  .page-header.clearfix
    %h1.pull-left= <%= class_name %>.model_name.human
    .pull-right{ :style => 'margin-top: 20px' }
      = link_to edit_<%= singular_table_name %>_path(@<%= singular_table_name %>), :class => 'btn btn-default pull-right' do
        %i.glyphicon.glyphicon-edit
        = "Edit #{<%= class_name %>.model_name.human}"

  %p#notice= notice

  %dl.dl-horizontal
  <%- for attribute in attributes -%>
    %dt= <%= class_name %>.human_attribute_name(:<%= attribute.name %>)
    %dd= @<%= singular_table_name %>.<%= attribute.name %>
  <%- end -%>

Fix a rendering bug in show template
Fix a rendering bug in show template
