Fix overlapping error on Travis with make_visible option on attach_field spec helper
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
<%= f.file_field :attachment,
|
||||
accept: accepted_content_types_extensions(@document.documentable.class),
|
||||
label: false,
|
||||
class: 'document_ajax_attachment show-for-sr',
|
||||
class: 'document_ajax_attachment',
|
||||
data: {
|
||||
url: upload_documents_url(documentable_type: @document.documentable_type, documentable_id: @document.documentable_id),
|
||||
cached_attachment_input_field: "document_cached_attachment",
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
<%= file_field_tag :attachment,
|
||||
accept: accepted_content_types_extensions(document.documentable_type.constantize),
|
||||
class: 'document_ajax_attachment show-for-sr',
|
||||
class: 'document_ajax_attachment',
|
||||
data: {
|
||||
url: upload_documents_url(
|
||||
documentable_type: document.documentable_type,
|
||||
|
||||
Reference in New Issue
Block a user