Fix edit and update actions
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
class: 'document_ajax_attachment show-for-sr',
|
||||
data: {
|
||||
url: upload_documents_url(documentable_type: @document.documentable_type, documentable_id: @document.documentable_id),
|
||||
chached_attachment_input_field: "document_cached_attachment",
|
||||
cached_attachment_input_field: "document_cached_attachment",
|
||||
multiple: false
|
||||
} %>
|
||||
<%= f.label :attachment, t("documents.form.attachment_label"), class: 'button hollow' %>
|
||||
|
||||
Reference in New Issue
Block a user