Skip to content

Commit

Permalink
add corresponding author checkbox also to standard editor form
Browse files Browse the repository at this point in the history
  • Loading branch information
kkrebs committed Nov 27, 2023
1 parent 42b9ed2 commit ce58d11
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/main/resources/META-INF/resources/import-editor.xed
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,13 @@
<xed:output value="concat(i18n:translate('ubo.role.author'), ': ')" />
</label>
<xed:include uri="webapp:import-editor.xed" ref="person" />
<xed:bind xpath="mods:role/mods:roleTerm[@type='text'][@classID='author_roles']" >
<div class="form-group form-inline col-12 px-0">
<label class="mycore-form-label"></label>
<input type="checkbox" value="corresponding_author" />
<xed:output i18n="ubo.corresponding_author" />
</div>
</xed:bind>
</div>
</xed:repeat>
</xed:template>
Expand Down

0 comments on commit ce58d11

Please sign in to comment.