% layout 'default'; % title l('User profile');
<%= l('Login') %> | <%= session('useruid') %> |
<%= l('Display name') %> | <%= text_field 'displayname', placeholder => l('John Doe') %> |
<%= l('Email') %> | <%= text_field 'mail', type => 'email', placeholder => 'petrov@example.com' %> |
<%= l('Organization') %> | <%= text_field 'o', placeholder => l('JSC Vector') %> |
<%= l('Cell phone') %> | <%= text_field 'mobile', placeholder => '+79081235689' %> |
<%= l('Avatar') %> | <%= file_field 'photo' %> |
<%= l('Current password') %> | <%= password_field 'password', required => 1, placeholder => '******' %> |
<%= submit_button l('Update') %> |