Skip to content

Commit

Permalink
Added recipient to TEI and IIIF exports
Browse files Browse the repository at this point in the history
  • Loading branch information
sylvieed committed Apr 17, 2022
1 parent 51f71c8 commit 52f4c29
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/models/work.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ class Work < ApplicationRecord
"permission_description",
"location_of_composition",
"author",
"recipient",
"identifier",
"genre",
"source_location",
Expand Down
3 changes: 3 additions & 0 deletions app/views/export/tei.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ xml:id="export">
<author>
<persName><%= @work.author %></persName>
</author>
<recipient>
<persName><%= @work.recipient %></persName>
</recipient>
</titleStmt>

<editionStmt>
Expand Down

0 comments on commit 52f4c29

Please sign in to comment.