- parent = @group.parent - group_path = root_url - group_path << parent.full_path + '/' if parent = render 'shared/groups/group_name_and_path_fields', f: f