Better cmtool integration

This commit is contained in:
2015-02-25 12:54:07 +01:00
parent 6a47ecb0eb
commit fd9afb9d53
15 changed files with 110 additions and 72 deletions
+2 -9
View File
@@ -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