Merge pull request #7430 from betagouv/fix-datetime-label
Usager : correction de l'affichage du sélecteur de date et heure
This commit is contained in:
commit
8c3356b620
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ module ActionView
|
|||
end
|
||||
field_for = "#{prefix.join('_')}_#{@options[:field_name]}"
|
||||
|
||||
"<label class='screen-reader-text' for='#{field_for}_#{n}i'>#{label}</label>"
|
||||
"<label class='sr-only' for='#{field_for}_#{n}i'>#{label}</label>"
|
||||
end
|
||||
|
||||
# Returns the separator for a given datetime component.
|
||||
|
|
Loading…
Reference in a new issue