Fix for labels on input with different names and ids
This commit is contained in:
parent
436ce0efd8
commit
4806459b3e
@ -1120,7 +1120,7 @@ module ApplicationHelper
|
||||
_(options[:label], :t, vars: options[:vars] || {})
|
||||
end
|
||||
elsif options[:label] != false
|
||||
html += label_tag id
|
||||
html += label_tag id, (_"forms.labels.generic.#{name}")
|
||||
end
|
||||
input_options = {
|
||||
id: id,
|
||||
|
Loading…
x
Reference in New Issue
Block a user