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
= render 'admin/shared/menu/contents'

View File

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