Browse Source

Fix for labels on input with different names and ids

development
Godwin 9 years ago
committed by GitHub
parent
commit
4806459b3e
  1. 2
      app/helpers/application_helper.rb

2
app/helpers/application_helper.rb

@ -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…
Cancel
Save