renames js class

This commit is contained in:
decabeza
2017-09-20 19:27:11 +02:00
parent 6642d47f4c
commit b43e464292
4 changed files with 5 additions and 5 deletions

View File

@@ -54,7 +54,7 @@ module DocumentsHelper
def render_attachment(document, index)
html = file_field_tag :attachment,
accept: accepted_content_types_extensions(document.documentable_type.constantize),
class: 'document_ajax_attachment',
class: 'js-document-attachment',
data: {
url: document_direct_upload_url(document),
cached_attachment_input_field: document_nested_field_id(document, index, :cached_attachment),