views:

18

answers:

1

With the Rails text_field_tag --- how do you set an option for the tabindex?

Thanks

+1  A: 
text_field_tag 'request', nil, :tabindex => '1'
Bohdan Pohorilets
text_field_tag(name, value = nil, html_options = {})
Bohdan Pohorilets