Add html safe view for layout's title

This commit is contained in:
Jacques Crocker 2010-07-23 16:58:10 -07:00
parent f566861a10
commit fcc305b89b
2 changed files with 7 additions and 7 deletions

View File

@ -1,4 +1,4 @@
- title t('.title', :type => @content_type.name.capitalize).html_safe - title t('.title', :type => @content_type.name.capitalize)
- content_for :submenu do - content_for :submenu do
= render 'admin/shared/menu/contents' = render 'admin/shared/menu/contents'

View File

@ -9,19 +9,19 @@
#header #header
= render 'admin/shared/header' = render 'admin/shared/header'
= render 'admin/shared/menu' = render 'admin/shared/menu'
#submenu #submenu
= yield :submenu = yield :submenu
#content #content
.inner .inner
%h2= title %h2!= title
#local-actions-bar #local-actions-bar
   
= yield :buttons = yield :buttons
= yield = yield
#footer #footer
= render 'admin/shared/footer' = render 'admin/shared/footer'