rosa-build/app/views/users/private.html.haml

39 lines
1007 B
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

%h3.fix.bpadding10= t('layout.users.private_settings_header')
= form_for(@user, :url => registration_path(@user), :html => { :method => :put, :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
\ 
.rightlist
= submit_tag t('layout.save')
.both
.hr
%h3= t("layout.users.delete_header")
.leftside
= t("layout.users.delete_warning")
.rightside
= link_to t("layout.delete"), user_path(@project), :method => :delete, :confirm => t("layout.users.confirm_delete"), :class => 'button' if can? :destroy, @user
.both
.notify
%p= t('layout.users.public_data_edit_warning')
:javascript
$('article .right').addClass('middlepadding');
- content_for :sidebar, render('users/sidebar')