2012-03-29 19:34:45 +01:00
|
|
|
|
- title t('layout.users.settings')
|
2012-03-03 08:01:32 +00:00
|
|
|
|
%h3.fix.bpadding10= t('layout.users.private_settings_header')
|
|
|
|
|
|
2012-03-03 16:03:23 +00:00
|
|
|
|
= form_for(@user, :url => user_private_settings_path(@user), :html => { :method => :put, :class => "form" }) do |f|
|
2012-03-03 08:01:32 +00:00
|
|
|
|
.leftlist
|
|
|
|
|
= f.label :current_password
|
|
|
|
|
.rightlist
|
|
|
|
|
= f.password_field :current_password
|
|
|
|
|
.both
|
|
|
|
|
.leftlist
|
|
|
|
|
= f.label :password
|
|
|
|
|
.rightlist
|
|
|
|
|
= f.password_field :password
|
|
|
|
|
.both
|
|
|
|
|
.leftlist
|
|
|
|
|
= f.label :password_confirmation
|
|
|
|
|
.rightlist
|
|
|
|
|
= f.password_field :password_confirmation
|
|
|
|
|
.both
|
|
|
|
|
.leftlist
|
|
|
|
|
\
|
|
|
|
|
.rightlist
|
|
|
|
|
= submit_tag t('layout.save')
|
|
|
|
|
.both
|
|
|
|
|
|
|
|
|
|
:javascript
|
|
|
|
|
$('article .right').addClass('middlepadding');
|
|
|
|
|
|
|
|
|
|
- content_for :sidebar, render('users/sidebar')
|