Fix back link

This commit is contained in:
Senén Rodero Rodríguez
2017-08-25 18:41:34 +02:00
parent 796e6f9ce1
commit 2fdbbf15e5

View File

@@ -1,7 +1,7 @@
<div class="document-form <%= documentable_class(@document.documentable) %> row">
<div class="small-12 medium-9 column">
<%= render "shared/back_link" %>
<%= back_link_to params[:from] %>
<h1><%= t("documents.new.title") %></h1>
<%= render "documents/form", form_url: documents_url %>
</div>