Commit 694b2b8d

mo k <mo@mokhan.ca>
2012-09-06 13:54:25
tidy up the tutorial show page.
1 parent 9e7538e
Changed files (1)
app
views
tutorials
app/views/tutorials/show.html.erb
@@ -1,20 +1,6 @@
-<p id="notice"><%= notice %></p>
-
-<p>
-  <b>Heading:</b>
-  <%= @tutorial.heading %>
-</p>
-
-<p>
-  <b>Description:</b>
-  <%= @tutorial.description %>
-</p>
-
-<p>
-  <b>Url:</b>
-  <%= @tutorial.url %>
-</p>
-
-
-<%= link_to 'Edit', edit_tutorial_path(@tutorial) %> |
-<%= link_to 'Back', tutorials_path %>
+<div class="row">
+  <div class="span12">
+    <h1><%= @tutorial.heading %> <small><a href="<%= @tutorial.url %>">read it</a></small></h1>
+    <p><%= @tutorial.description %> </p>
+  </div>
+</div>