app/views/documents/show.html.erb
<p id="notice"><%= notice %></p>
<p>
<b>Title:</b>
<%= @document.title %>
</p>
<p>
<b>Content:</b>
<%= simple_format(@document.content) %>
</p>
<p>
<b>Private:</b>
<%= @document.private %>
</p>
<p>
<%= link_to "Download", @document.file_url.to_s %>
</p>
<%= link_to 'Edit', edit_document_path(@document) %> |
<%= link_to 'Back', documents_path %>