Fix edit and update actions

This commit is contained in:
Senén Rodero Rodríguez
2017-08-14 15:39:58 +02:00
parent e9c5f77368
commit f226d2ac94
6 changed files with 17 additions and 9 deletions

View File

@@ -64,7 +64,7 @@
documentable_type: document_fields.object.documentable_type,
documentable_id: document_fields.object.documentable_id
),
chached_attachment_input_field: "proposal_documents_attributes_#{index}_cached_attachment",
cached_attachment_input_field: "proposal_documents_attributes_#{index}_cached_attachment",
multiple: false
} %>
<%= document_fields.label :attachment, t("documents.form.attachment_label"), class: 'button hollow' %>