From 721bd44c09d166ca98f25c1cc8e653e44cb45987 Mon Sep 17 00:00:00 2001 From: Jens Ulferts Date: Thu, 21 Jan 2016 13:12:55 +0100 Subject: [PATCH] add missing variables to partial call --- app/views/groups/_form.html.erb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/views/groups/_form.html.erb b/app/views/groups/_form.html.erb index 03856e4d28..c3b18e3132 100644 --- a/app/views/groups/_form.html.erb +++ b/app/views/groups/_form.html.erb @@ -39,5 +39,7 @@ See doc/COPYRIGHT.rdoc for more details. <%= f.text_field :lastname, label: Group.human_attribute_name(:name), required: true %> - <%= render partial: 'customizable/form', locals: { form: f } %> + <%= render partial: 'customizable/form', locals: { form: f, + all_fields: true, + only_required: false } %>