fireho/geopolitical

View on GitHub
app/views/geopolitical/cities/show.html.haml

Summary

Maintainability
Test Coverage
.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