Add html safe view for layout's title
This commit is contained in:
parent
f566861a10
commit
fcc305b89b
@ -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'
|
||||
|
@ -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'
|
Loading…
Reference in New Issue
Block a user