Hi,

I've come across a strange issue with one of my views.

Simple login form,

<% form_tag do -%>

        <p><label for="login">Login</label><br/>
        <%= text_field_tag 'login' %></p>

        <p><label for="password">Password</label><br/>
        <%= password_field_tag 'password' %></p>

        <p><%= submit_tag 'Log in' %></p>
<% end -%>


But browsers are rendering the text field input box huge.
It's like a mini text area.
The only happens when I pass in 'login' as a parameter to
text_field_tag.
If I pass it password, the input box is rendered as a correct size.

Any ideas ?

Strange one so it is
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to