diff --git a/app/views/my_modules/_description_form.html.erb b/app/views/my_modules/_description_form.html.erb index 9750fa0cf..555fdc851 100644 --- a/app/views/my_modules/_description_form.html.erb +++ b/app/views/my_modules/_description_form.html.erb @@ -20,6 +20,7 @@ placeholder: t('my_modules.module_header.empty_description_edit_label'), hide_label: true, value: sanitize_input(@my_module.tinymce_render(:description)), + autocomplete: 'off', data: { object_type: 'my_module', object_id: @my_module.id, diff --git a/app/views/my_modules/protocols/_protocol_description_form.html.erb b/app/views/my_modules/protocols/_protocol_description_form.html.erb index cc3f1180a..b34a65469 100644 --- a/app/views/my_modules/protocols/_protocol_description_form.html.erb +++ b/app/views/my_modules/protocols/_protocol_description_form.html.erb @@ -20,6 +20,7 @@ placeholder: t('my_modules.protocols.protocol_status_bar.empty_description_edit_label'), hide_label: true, value: sanitize_input(protocol.tinymce_render(:description)), + autocomplete: 'off', data: { object_type: 'protocol', object_id: protocol.id, diff --git a/app/views/result_texts/_edit.html.erb b/app/views/result_texts/_edit.html.erb index d3e24d5c5..79c07b696 100644 --- a/app/views/result_texts/_edit.html.erb +++ b/app/views/result_texts/_edit.html.erb @@ -7,6 +7,7 @@ <%= ff.tiny_mce_editor(:text, id: :result_text_attributes_textarea, value: @result.result_text.tinymce_render(:text), + autocomplete: 'off', data: { object_type: 'result_text', object_id: @result.result_text.id, highlightjs_path: asset_path('highlightjs-github-theme.css'), diff --git a/app/views/result_texts/_new.html.erb b/app/views/result_texts/_new.html.erb index b7789407c..79f97aa5e 100644 --- a/app/views/result_texts/_new.html.erb +++ b/app/views/result_texts/_new.html.erb @@ -6,6 +6,7 @@ <%= f.fields_for :result_text do |ff| %> <%= ff.tiny_mce_editor(:text, id: :result_text_attributes_textarea, + autocomplete: 'off', data: { object_type: 'result_text', object_id: @result.result_text.id, highlightjs_path: asset_path('highlightjs-github-theme.css'), diff --git a/app/views/steps/_empty_step.html.erb b/app/views/steps/_empty_step.html.erb index 1a26581dc..318e2891a 100644 --- a/app/views/steps/_empty_step.html.erb +++ b/app/views/steps/_empty_step.html.erb @@ -33,6 +33,7 @@ id: :step_description_textarea, hide_label: false, value: sanitize_input(@step.tinymce_render(:description)), + autocomplete: 'off', data: { object_type: 'step', object_id: @step.id,