From 60f553c7573d0e95c9a89fc695cfb2b64306be6b Mon Sep 17 00:00:00 2001 From: Adrian Short Date: Wed, 3 Aug 2016 11:16:19 +0100 Subject: [PATCH] Make .nav a %nav --- views/district.haml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/views/district.haml b/views/district.haml index 6016b9b..73e72e8 100644 --- a/views/district.haml +++ b/views/district.haml @@ -1,10 +1,9 @@ - @page_title = "#{@district.name} #{@district.body.district_name}, #{@district.body.name}" -.nav - %p - %a{ :href => "/bodies/#{@district.body.slug}" } - «  - = @district.body.name +%nav + %a{ :href => "/bodies/#{@district.body.slug}" } + «  + = @district.body.name %h1= "#{@district.name} #{@district.body.district_name}"