Skip to content

Commit

Permalink
Distinguish between genre and subject.
Browse files Browse the repository at this point in the history
closes #853
  • Loading branch information
justinlittman committed Dec 5, 2023
1 parent 012dfa7 commit 8d1d764
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions app/views/purl/_mods_subjects.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,16 @@
<% label_id = "section-subjects" %>
<%= render SectionComponent.new(label: 'Subjects', label_id: label_id) do %>
<%= render TableComponent.new(label_id: label_id) do %>
<% document.mods.subject.each do |subject| %>
<%= mods_subject_row_field(subject)%>
<% end %>
<% document.mods.genre.each do |genre| %>
<%= mods_genre_row_field(genre)%>
<% end %>
<tbody>
<% document.mods.subject.each do |subject| %>
<%= mods_subject_row_field(subject)%>
<% end %>
</tbody>
<tbody>
<% document.mods.genre.each do |genre| %>
<%= mods_genre_row_field(genre)%>
<% end %>
</tbody>
<% end %>
<% end %>
<% end %>

0 comments on commit 8d1d764

Please sign in to comment.