lib/cm_admin/view_helpers.rb in cm-admin-1.1.8 vs lib/cm_admin/view_helpers.rb in cm-admin-1.1.9
- old
+ new
@@ -51,10 +51,11 @@
tag.div class: 'modal-body' do
form_tag cm_admin.send('export_to_file_path'), id: 'export-to-file-form', style: 'width: 100%;', class: 'cm-admin-csv-export-form' do
concat hidden_field_tag 'class_name', klass.name.to_s, id: 'export-to-file-klass'
concat checkbox_row(klass)
concat tag.hr
- concat submit_tag 'Export', class: 'btn btn-primary btn-bordered export-to-file-btn'
+ # TODO: export-to-file-btn class is used for JS functionality, Have to remove
+ concat submit_tag 'Export', class: 'btn-primary export-to-file-btn'
end
end
end
def checkbox_row(klass)