Basic site flow improvements and devise handling

This commit is contained in:
2014-07-16 11:20:11 +02:00
parent de298a529b
commit a302123c6b
20 changed files with 134 additions and 85 deletions
+4 -4
View File
@@ -40,13 +40,13 @@ html lang="en"
.container
.main-inner
- if flash[:alert].present?
.alert.alert-error
a.close data-dismiss="alert" ×
.flash-box.alert
div= flash[:alert]
- if flash[:notice].present?
.alert.alert-success
a.close data-dismiss="alert" ×
- if flash[:notice].present?
.flash-box.notice
div= flash[:notice]
a.close data-dismiss="alert" ×
- if @page && @page.title.present?
h1.page-title= @page.title
= yield