Skip to content

Commit

Permalink
Merge pull request #6966 from samvera/issue-6778
Browse files Browse the repository at this point in the history
Add id and missing style on disabled checkbox
  • Loading branch information
randalldfloyd authored Nov 8, 2024
2 parents ae082d1 + dec55b5 commit 5c07d4f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<input type="checkbox" name="batch_document_ids[]" id="batch_document_<%= id %>" value="<%= id %>" class="batch_document_selector"
data-hasaccess="<%= (can?(:edit, collection_presenter.solr_document)) %>" />
<% else %>
<input type="checkbox" class="disabled batch_document_selector" disabled=true />
<input type="checkbox" id="batch_document_<%= id %>" class="disabled batch_document_selector" disabled=true />
<% end %>
</td>
<td>
Expand Down
2 changes: 1 addition & 1 deletion app/views/hyrax/my/collections/_list_collections.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<input type="checkbox" name="batch_document_ids[]" id="batch_document_<%= id %>" value="<%= id %>" class="batch_document_selector"
data-hasaccess="<%= (can?(:edit, collection_presenter.solr_document)) %>" />
<% else %>
<input type="checkbox" class="disabled" disabled=true />
<input type="checkbox" id="batch_document_<%= id %>" class="disabled batch_document_selector" disabled=true />
<% end %>
</td>
<td>
Expand Down

0 comments on commit 5c07d4f

Please sign in to comment.