Better cmtool integration
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
doctype html
|
||||
html lang="en"
|
||||
html lang=I18n.locale
|
||||
head
|
||||
title= site_page_title
|
||||
= render 'meta'
|
||||
@@ -22,14 +22,7 @@ html lang="en"
|
||||
#main-wrap
|
||||
.container
|
||||
.main-inner
|
||||
- if flash[:alert].present?
|
||||
.flash-box.alert
|
||||
div= flash[:alert]
|
||||
a.close data-dismiss="alert" ×
|
||||
- if flash[:notice].present?
|
||||
.flash-box.notice
|
||||
div= flash[:notice]
|
||||
a.close data-dismiss="alert" ×
|
||||
= render 'theme1/alerts'
|
||||
- if @page && @page.title.present?
|
||||
h1.page-title= @page.title
|
||||
= yield
|
||||
|
||||
Reference in New Issue
Block a user