Fix labels in progress bar percentage selection
We were using the same label for two elements, but the label was only assigned to one of them.
This commit is contained in:
@@ -16,12 +16,13 @@
|
||||
<% end %>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="row percentage-inputs">
|
||||
<div class="small-12 medium-6 large-2 column">
|
||||
<%= f.label :percentage %>
|
||||
<%= f.label :percentage, nil, id: "percentage_label" %>
|
||||
<%= f.text_field :percentage, { type: :range,
|
||||
id: "percentage_range",
|
||||
label: false,
|
||||
"aria-labelledby": "percentage_label",
|
||||
class: "column" }.merge(progress_options) %>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user