Commit 81b8f87
Changed files (1)
app
views
gyms
app/views/gyms/show.html.erb
@@ -1,5 +1,11 @@
<div class="row">
- <div class="large-12columns">
- <%= react_component('Comment', { author: 'mo', body: 'nice', rank: 5 }) %>
+ <div class="large-12 columns">
+ <h1><%= @gym.name %></h1>
+ <p>
+ <%= @gym.full_address %>
+ <%= link_to @gym.location.try(:url) do %>
+ <i class="fa fa-map-marker" aria-hidden="true"></i>
+ <% end %>
+ </p>
</div>
</div>