SyntaxFix
Write A Post
Hire A Developer
Questions
In your view template, set a default value:
f.text_field :password, :value => "password"
In your Javascript (assuming jquery here):
$(document).ready(function() { //add a handler to remove the text });