Skip to content

Commit

Permalink
Merge pull request #6969 from samvera/issue-6785
Browse files Browse the repository at this point in the history
Add labels to checkbox lists
  • Loading branch information
dlpierce authored Nov 8, 2024
2 parents faae072 + 153239f commit 0b593bb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/views/hyrax/leases/_list_expired_active_leases.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<tr>
<td><%= render 'hyrax/batch_select/add_button', document: curation_concern %></td>
<td class="human-readable-type"><%= curation_concern.human_readable_type %></td>
<td class="title"><%= link_to curation_concern, edit_lease_path(curation_concern) %></td>
<td class="title"><label for="batch_document_<%= curation_concern.id %>"><%= link_to curation_concern, edit_lease_path(curation_concern) %></label></td>
<td class="current-visibility"><%= visibility_badge(curation_concern.visibility) %></td>
<td class="lease-release-date"><%= curation_concern.lease_expiration_date %></td>
<td class="visibility-after-lease"><%= visibility_badge(curation_concern.visibility_after_lease) %></td>
Expand All @@ -41,9 +41,9 @@
<tr data-behavior="extra" data-id="<%= curation_concern.id %>" class="extra-lease-info">
<td></td>
<td colspan=5>
<%= check_box_tag "leases[#{i}][copy_visibility]", curation_concern.id, true %>
<%= t('.change_all', cc: curation_concern) %>
<%= visibility_badge(curation_concern.visibility_after_lease) %>?
<%= check_box_tag "leases[#{i}][copy_visibility]", curation_concern.id, true, 'aria-labelledby': "leases_#{i}_copy_visibility" %>
<label for="leases_<%= i %>_copy_visibility"><%= t('.change_all', cc: curation_concern) %>
<%= visibility_badge(curation_concern.visibility_after_lease) %>?</label>
</td>
</tr>
<% end %>
Expand Down

0 comments on commit 0b593bb

Please sign in to comment.