Commit 694b2b8d
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>