From f36eeb6469f44ef58f4ddffc5d4681c8ec9720cc Mon Sep 17 00:00:00 2001 From: "Stella Rouzi (differentreality)" Date: Thu, 13 Feb 2014 15:29:52 +0200 Subject: [PATCH] fix removal of answers --- app/views/admin/questions/_answer_fields.html.haml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/views/admin/questions/_answer_fields.html.haml b/app/views/admin/questions/_answer_fields.html.haml index a84d7c17..5bffc9bc 100644 --- a/app/views/admin/questions/_answer_fields.html.haml +++ b/app/views/admin/questions/_answer_fields.html.haml @@ -1 +1,4 @@ -= f.input :title +.nested-fields + = f.inputs do + = f.input :title + = remove_association_link :answer, f