Skip to content

Commit

Permalink
Merge pull request #2094 from seek4science/issue-2079
Browse files Browse the repository at this point in the history
 add the ID attribute for each extended metadata attribute, so javascript can select the element
  • Loading branch information
whomingbird authored Dec 19, 2024
2 parents 70bf30e + d93d270 commit 999205e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<% extended_metadata_type.extended_metadata_attributes.each do |attribute| %>
<div class="form-group">
<div id="<%= "wrapper-#{attribute.title.parameterize}" %>" class="form-group">
<%= extended_metadata_form_field_for_attribute(attribute,resource, parent_resource) %>
<% unless attribute.description.nil? %>
<%= extended_metadata_attribute_description(attribute.description) %>
Expand Down

0 comments on commit 999205e

Please sign in to comment.