master
<h1>Editing document</h1> <%= render 'form' %> <%= link_to 'Show', @document %> | <%= link_to 'Back', documents_path %>