From 6afc5c5a4b025ec0399dc46cf9dbe621c0afd389 Mon Sep 17 00:00:00 2001 From: Mojca Lorber Date: Mon, 14 Nov 2016 16:31:48 +0100 Subject: [PATCH] fix position of buttons in text result --- app/views/result_texts/_edit.html.erb | 3 +-- app/views/result_texts/_new.html.erb | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/app/views/result_texts/_edit.html.erb b/app/views/result_texts/_edit.html.erb index c623f96d7..291156ed6 100644 --- a/app/views/result_texts/_edit.html.erb +++ b/app/views/result_texts/_edit.html.erb @@ -2,9 +2,8 @@ <%= bootstrap_form_for(@result, url: result_text_path(format: :json), remote: :true) do |f| %> <%= f.text_field :name, style: "margin-top: 10px;" %>
<%= f.fields_for :result_text do |ff| %> - <%= quill_editor nil, { name: 'result[result_text_attributes][text]', value: @result.result_text.text } %> + <%= quill_editor nil, { name: 'result[result_text_attributes][text]', value: @result.result_text.text } %>
<% end %> -
<%= f.submit t("result_texts.edit.update"), class: 'btn btn-primary save-result', onclick: "processResult(event, ResultTypeEnum.TEXT, true);" %>