Commit 81b8f87

mo khan <mo@mokhan.ca>
2016-05-21 17:02:17
add some content to the gym show page.
1 parent 9ac4cda
Changed files (1)
app
views
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>