diff --git a/app/views/submissions/show.html.erb b/app/views/submissions/show.html.erb index 51dfa59c..a40d0c9a 100644 --- a/app/views/submissions/show.html.erb +++ b/app/views/submissions/show.html.erb @@ -133,7 +133,7 @@ <% bg_class = bg_classes[submitter_index % bg_classes.size] %>
- <%= svg_icon(SubmissionsController::FIELD_ICONS[field['type']], class: 'max-h-10 w-full h-full stroke-2 opacity-50') %> + <%= svg_icon(SubmissionsController::FIELD_ICONS.fetch(field['type'], 'text_size'), class: 'max-h-10 w-full h-full stroke-2 opacity-50') %>
<% end %>