2012-05-02 10:18:07 +01:00
|
|
|
|
-set_meta_tags :title => t('layout.users.settings')
|
|
|
|
|
%h3.fix.bpadding10= t('layout.users.private_settings_header')
|
|
|
|
|
|
|
|
|
|
= form_for @user, :url => private_settings_path, :html => {:class => :form} do |f|
|
|
|
|
|
.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
|
|
|
|
|
\
|
2013-07-24 21:29:28 +01:00
|
|
|
|
.rightlist= submit_tag t('layout.save'), :data => {'disable-with' => t('layout.saving')}
|
2012-05-02 10:18:07 +01:00
|
|
|
|
.both
|
|
|
|
|
|
|
|
|
|
:javascript
|
|
|
|
|
$('article .right').addClass('middlepadding');
|
|
|
|
|
|
|
|
|
|
- content_for :sidebar, render('sidebar')
|