Browse Source

Make .nav a %nav

tags/last-sinatra-version
Adrian Short 8 years ago
parent
commit
60f553c757
1 changed files with 4 additions and 5 deletions
  1. +4
    -5
      views/district.haml

+ 4
- 5
views/district.haml View File

@@ -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}"



Loading…
Cancel
Save