From 8b87c33c97b93458085791c48b5cd0b025eecc97 Mon Sep 17 00:00:00 2001 From: alexs Date: Tue, 13 Aug 2013 11:37:36 +1000 Subject: [PATCH] Added layout based wrapping for the main component (used in off canvas layout). --- app/views/layouts/landing_page.html.haml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/views/layouts/landing_page.html.haml b/app/views/layouts/landing_page.html.haml index 726c7d38e4..2b57734b01 100644 --- a/app/views/layouts/landing_page.html.haml +++ b/app/views/layouts/landing_page.html.haml @@ -29,6 +29,9 @@ %li= link_to "Distributors", "#" %li.divider %li= link_to "Farmers", "#" - = yield + %section{ role: "main" } + = yield + %section#sidebar{ role: "complementary" } + = render "home/login" = yield :scripts