yaroslav / russian

Russian language support for Ruby and Rails | Поддержка русского языка для Ruby и Rails
MIT License
475 stars 127 forks source link

incorrect render of label tag wih :value option #11

Closed evtuhovich closed 14 years ago

evtuhovich commented 14 years ago

This code in template <%= f.label :user_type, 'физическое лицо', :value => 'phys' %>

When gem russian 0.2.7 is on render to: <label for="user_user_type" value="phys">phys</label>

And when gem is off: <label for="user_user_type_phys">phys</label>

yaroslav commented 14 years ago

Исправлено на мастере (больше не используем хак)

Войдет в следующий релиз

evtuhovich commented 14 years ago

Спасибо :-)