Hello,
how could I define class for input textfield,
text_field_tag(‘somefieldname’,nil,:class => ‘txt’) doesn’t work ?
Marius Zilenas
Hello,
how could I define class for input textfield,
text_field_tag(‘somefieldname’,nil,:class => ‘txt’) doesn’t work ?
Marius Zilenas
Marius Zilenas wrote:
Hello,
how could I define class for input textfield,
text_field_tag(‘somefieldname’,nil,:class => ‘txt’) doesn’t work ?Marius Zilenas
Hello,
sorry, false alarm !
text_field_tag(‘somefieldname’,nil,“class” => ‘txt’) should work !
Marius Zilenas
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs