.container
  .row
    .span2
      = render themed("sidebar-left")
    .span8
      .content
        .page-wrapper
          .page-header
            .pull-left
              %h1
                - if @page_header.present?
                  = inline_user_text @page_header
                  - if @page_hint.present?
                    %small= inline_user_text @page_hint
                - elsif !resource_is_context_resource? && resource.respond_to?(:title)
                  = inline_user_text(resource.title)
                - else
                  = t("#{controller_name}.#{action_name}.page_header")
                  %small
                    = t("#{controller_name}.#{action_name}.page_hint")
            .pull-right
              = yield(:page_header)
            .clearboth
          = yield
          .page-footer
    .span2
      .sidebar.sidebar-right
        = yield(:contextual_sidebar)
  .clearboth
.container
  .row
    .span2
      = render themed("sidebar-left")
    .span8
      .content
        .page-wrapper
          .page-header
            .pull-left
              %h1
                - if @page_header.present?
                  = inline_user_text @page_header
                  - if @page_hint.present?
                    %small= user_text @page_hint
                - elsif !resource_is_context_resource? && resource.respond_to?(:title)
                  = inline_user_text(resource.title)
                - else
                  = t("#{controller_name}.#{action_name}.page_header")
                  %small
                    = t("#{controller_name}.#{action_name}.page_hint")
            .pull-right
              = yield(:page_header)
            .clearboth
          = yield
          .page-footer
    .span2
      .sidebar.sidebar-right
        = yield(:contextual_sidebar)
  .clearboth
Format @page_hint as multi-line user text
Format @page_hint as multi-line user text
