<%= form_for @obj, :action => "/" do %> <%= password_field :foo, :bar => "7", :label => "LABEL" %> <% end =%>