2011-05-08 08:29:21 +00:00
|
|
|
= form_for resource, :as => resource_name, :url => registration_path(resource_name), :html => {:id => "edit_form", :method => :put} do |f|
|
|
|
|
%h2
|
2011-09-14 23:50:39 +00:00
|
|
|
= t("titles.edit_profile")
|
2011-05-08 08:29:21 +00:00
|
|
|
= f.hidden_field "id"
|
2011-09-14 23:50:39 +00:00
|
|
|
= f.label "email", t("labels.email"), :id => "user_email_label"
|
2011-09-15 01:27:34 +00:00
|
|
|
%em
|
|
|
|
= image_tag "lock.svg", :class => "lock", :alt => t("captions.private"), :title => t("captions.private")
|
2011-10-10 22:52:58 +00:00
|
|
|
= f.text_field "email"
|
2011-09-14 23:50:39 +00:00
|
|
|
= f.label "name", t("labels.name"), :id => "user_name_label"
|
2011-09-15 01:27:34 +00:00
|
|
|
%em
|
|
|
|
= t("captions.public")
|
2011-10-10 22:52:58 +00:00
|
|
|
= f.text_field "name"
|
2011-09-14 23:50:39 +00:00
|
|
|
= f.label "organization", t("labels.organization"), :id => "user_organization_label"
|
2011-09-15 01:27:34 +00:00
|
|
|
%em
|
|
|
|
= t("captions.public")
|
2011-10-10 22:52:58 +00:00
|
|
|
= f.text_field "organization"
|
2011-09-14 23:50:39 +00:00
|
|
|
= f.label "voice_number", t("labels.voice_number"), :id => "user_voice_number_label"
|
2011-09-15 01:27:34 +00:00
|
|
|
%em
|
|
|
|
= image_tag "lock.svg", :class => "lock", :alt => t("captions.private"), :title => t("captions.private")
|
2011-10-10 22:52:58 +00:00
|
|
|
= f.text_field "voice_number"
|
2011-09-14 23:50:39 +00:00
|
|
|
= f.label "sms_number", t("labels.sms_number"), :id => "user_sms_number_label"
|
2011-09-15 01:27:34 +00:00
|
|
|
%em
|
|
|
|
= image_tag "lock.svg", :class => "lock", :alt => t("captions.private"), :title => t("captions.private")
|
2011-10-10 22:52:58 +00:00
|
|
|
= f.text_field "sms_number"
|
2011-09-14 23:50:39 +00:00
|
|
|
= f.label "password", t("labels.password_new"), :id => "user_password_label"
|
2011-05-08 08:29:21 +00:00
|
|
|
%em
|
2011-09-14 23:50:39 +00:00
|
|
|
= t("captions.password")
|
2011-10-10 22:52:58 +00:00
|
|
|
= f.password_field "password"
|
2011-09-15 01:23:56 +00:00
|
|
|
= f.label "current_password", t("labels.current_password"), :id => "user_current_password_label"
|
2011-05-08 08:29:21 +00:00
|
|
|
%em
|
2011-09-14 23:50:39 +00:00
|
|
|
= t("captions.current_password")
|
2011-10-10 22:52:58 +00:00
|
|
|
= f.password_field "current_password"
|
|
|
|
= f.submit t("buttons.update")
|
2011-09-15 21:41:26 +00:00
|
|
|
= render :partial => 'things/back'
|