Skip to content
softweb edited this page Apr 1, 2013 · 14 revisions

= form_for [:admin,@dealer_details, @user], :html => { :class => "validations" } do |f| %div %label{:class => "labelclass"} Username = f.text_field :username %br %br %div %label{:class => "labelclass"} Password = password_field_tag :password %br %br %div %label{:class => "labelclass"} Password Confirmation = password_field_tag :password_confirmation

= hidden_field_tag 'dealer_detail_id', @dealer_detail_id

= f.submit "Save"