Skip to content

Commit

Permalink
Fixing a couple of form labels that had duplicate ids.
Browse files Browse the repository at this point in the history
  • Loading branch information
sfisher committed Nov 16, 2024
1 parent 6bec080 commit 9b7012f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions templates/create/_datacite_publisher.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{% load i18n %}

<div id="publisher_set" class="fieldset-stacked create__nested-fieldset fieldset__bottom-border" role="group" aria-labelledby="publisher">
<div id="publisher_set" class="fieldset-stacked create__nested-fieldset fieldset__bottom-border" role="group" aria-labelledby="publisher-head">
<div class="fieldset-controls__container">
<div id="publisher" class="fieldset-controls__legend create__nested-legend">{% trans "Publisher" %}</div>
<div id="publisher-head" class="fieldset-controls__legend create__nested-legend">{% trans "Publisher" %}</div>
</div>

{% for p_field in form.publisher_form %}
Expand Down
4 changes: 2 additions & 2 deletions templates/create/_datacite_version.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{% load i18n %}

<div class="fieldset-stacked create__nested-fieldset" role="group" aria-labelledby="version">
<div class="fieldset-stacked create__nested-fieldset" role="group" aria-labelledby="version-head">
<div class="fieldset-controls__container">
<div id="version" class="fieldset-controls__legend create__nested-legend">{% trans "Version" %}</div>
<div id="version-head" class="fieldset-controls__legend create__nested-legend">{% trans "Version" %}</div>
</div>
{% include "create/_datacite_inlinetext.html" with field=form.nonrepeating_form.version %}
</div>

0 comments on commit 9b7012f

Please sign in to comment.