From 5511a3a194416a43f07e26a7a4c8f52c4250dceb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Mon, 15 Oct 2018 17:39:23 +0200 Subject: [PATCH] Fix "Add option" link position The new options were being added inside the `.column` div, when they needed to be added before it. --- app/views/admin/legislation/questions/_form.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/admin/legislation/questions/_form.html.erb b/app/views/admin/legislation/questions/_form.html.erb index ae9bad19a..91a8951ad 100644 --- a/app/views/admin/legislation/questions/_form.html.erb +++ b/app/views/admin/legislation/questions/_form.html.erb @@ -35,8 +35,8 @@ <%= render 'question_option_fields', f: ff %> <% end %> -
-
+
+
<%= link_to_add_association t("admin.legislation.questions.form.add_option"), f, :question_options, class: "button hollow" %>