app/views/geopolitical/cities/show.html.haml in geopolitical-0.0.1 vs app/views/geopolitical/cities/show.html.haml in geopolitical-0.8.0

- old
+ new

@@ -1,26 +1,17 @@ -#showcase-panel.showcasepanel-typography-retro - #showcasepanel-title.showcasepanel-alignment-center - %span.headline - = @city.name - .container_16 - .box.white - .grid_2 - = link_to t(:edit), edit_city_path(@city), :class => "icon edit" - - %p - = @city.province.name if @city.province - %p - = @city.country.name - %p - Souls: - %em= @city.souls - -# %p= @city.x - -# %p= @city.y - .grid_4 - -# - @city.hoods.each do |hood| - -# %p= link_to hood.name, hood - .grid_8 - -# .inner= gmaps(@map, false, false) - = link_to t(:back), cities_path - .clear - +.container + .row + %h1= @city.name + .row + %p + %b Slug: + = @city.slug + %p + %b Nation: + = link_to @city.nation, @city.nation + %p + %b Region: + = link_to @city.region, @city.region + .row + = link_to 'Edit', edit_city_path(@city) + | + = link_to 'Back', cities_path