Skip to content
tanema edited this page Mar 18, 2012 · 1 revision

password_field_tag(name, [[value,] html_options])

Returns a password field.

password_field_tag("something[interesting]",{"value":5})
 
 => 
 
<input value='5' id='something[interesting]' type='password' name='something[interesting]' />
Clone this wiki locally