From bacbc4309c0578be381639536fcf76dfc69b8afa Mon Sep 17 00:00:00 2001 From: Pete Matsyburka Date: Sat, 7 Dec 2024 12:59:28 +0200 Subject: [PATCH] skip heading --- app/views/submissions/show.html.erb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/views/submissions/show.html.erb b/app/views/submissions/show.html.erb index 3320cfe1..163697f9 100644 --- a/app/views/submissions/show.html.erb +++ b/app/views/submissions/show.html.erb @@ -196,6 +196,7 @@ <% submitter_field_counters[field['type']] += 1 %> <% value = values[field['uuid']] %> <% next if value.blank? %> + <% next if field['type'] == 'heading' %>
<%= field['name'].presence || "#{t("#{field['type']}_field")} #{submitter_field_counters[field['type']]}" %>