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
|
- content_for :submenu do
|
||||||
= render 'admin/shared/menu/contents'
|
= render 'admin/shared/menu/contents'
|
||||||
|
@ -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'
|
Loading…
Reference in New Issue
Block a user