% layout 'default'; % title l('Update user');
<%= 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 'org' %> |
<%= l('Mobile') %> | <%= text_field 'mobile' %> |
<%= l('Avatar') %> | <%= file_field 'photo' %> |
<%= l('Current password') %> | <%= password_field 'pass', required => 1, placeholder => '******' %> |
<%= submit_button l('Update') %> |