This project is archived and is in readonly mode.

#3842 ✓resolved
Yves Vogl

Overwrite type attribute for text_field [PATCH]

Reported by Yves Vogl | February 3rd, 2010 @ 05:22 PM

Hi,

I added the ability to overwrite the type attribute of the text_field helper to e.g. allow creating input fields with type "email" and "url". I decided not to separate those like the ones for "hidden", "password" because it seems that this attributes aren't W3C standard, yet. I added them because they ease the pain on iPhone when entering such information.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

Attachments

Pages