From 36a239f4ecde768eced4d4a07f3b3f18832870ec Mon Sep 17 00:00:00 2001 From: Gregor Schmidt Date: Tue, 19 Jun 2018 13:20:17 +0200 Subject: [PATCH 1/2] Show group custom fields on group view page --- app/views/groups/show.html.erb | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/app/views/groups/show.html.erb b/app/views/groups/show.html.erb index b10427bf9..1bf625bc2 100644 --- a/app/views/groups/show.html.erb +++ b/app/views/groups/show.html.erb @@ -1,5 +1,17 @@ <%= title [l(:label_group_plural), groups_path], @group.name %> +<% if @group.custom_field_values.any? %> +

<%= l(:label_attribute_plural) %>

+ + + +

<%= l(:label_member_plural) %>

+<% end %> +