Skip to content

Commit 37fbd91

Browse files
committed
Remove "Additional Information" title
1 parent 26031b5 commit 37fbd91

2 files changed

Lines changed: 1 addition & 6 deletions

File tree

app/views/common/_extra_metadata.html.erb

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,6 @@
55
<%= display_attribute(resource, :contact) if resource.respond_to?(:contact) %>
66
<%= display_attribute(resource, :keywords) { |values| values.join(', ') } %>
77

8-
<% unless hide_title %>
9-
<hr />
10-
<h4>Additional information</h4>
11-
<% end %>
12-
138
<% if resource.is_a?(Material) %>
149
<%= display_attribute(resource, :fields) { |values| values.join(', ') } %>
1510
<%= display_attribute(resource, :target_audience) { |values| values.map { |x| target_audience_title_for_label(x) }.join(', ') } %>

app/views/sources/_test_results.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
<i class="fa fa-exclamation-circle"></i> Errors: <%= resource.errors.full_messages.join(', ') %>
5656
</div>
5757
<% end %>
58-
<%= render partial: 'common/extra_metadata', locals: { resource: resource, hide_title: true } %>
58+
<%= render partial: 'common/extra_metadata', locals: { resource: resource } %>
5959
</div>
6060
</div>
6161
<% end %>

0 commit comments

Comments
 (0)