From 4e2c37f67f40e2bede2322c17eca75bf10c868f3 Mon Sep 17 00:00:00 2001 From: Lars Henrik Mai Date: Thu, 18 Feb 2016 08:48:28 +0100 Subject: [PATCH] Fix html in layout --- app/views/layouts/application.html.slim | 32 ++++++++++++------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/app/views/layouts/application.html.slim b/app/views/layouts/application.html.slim index 1fa4cba..9de75b8 100644 --- a/app/views/layouts/application.html.slim +++ b/app/views/layouts/application.html.slim @@ -1,20 +1,20 @@ doctype html html -head - title Stadtratmonitor Leipzig - = stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true - = javascript_include_tag 'vendor/modernizr' - = csrf_meta_tags + head + title Stadtratmonitor Leipzig + = stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true + = javascript_include_tag 'vendor/modernizr' + = csrf_meta_tags -body - .row - .small-12.columns - .clearfix - .right = render 'login_button' - h1#title = link_to 'Stadtratmonitor Leipzig', root_path - - flash.each do |name, msg| - = content_tag :div, msg, class: name - = yield + body + .row + .small-12.columns + .clearfix + .right = render 'login_button' + h1#title = link_to 'Stadtratmonitor Leipzig', root_path + - flash.each do |name, msg| + = content_tag :div, msg, class: name + = yield - script src="https://login.persona.org/include.js" - = javascript_include_tag 'application', 'data-turbolinks-track' => true + script src="https://login.persona.org/include.js" + = javascript_include_tag 'application', 'data-turbolinks-track' => true