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

32 lines
1006 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.

-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
\ 
.rightlist= submit_tag t('layout.save'), data: {'disable-with' => t('layout.saving')}
.both
%br
= form_for @user, url: reset_auth_token_settings_path, html: { class: :form, method: :put } do |f|
.leftlist= f.label :authentication_token
.rightlist= @user.authentication_token
.both
.leftlist
.rightlist= submit_tag t('layout.users.reset_token'), data: {'disable-with' => t('layout.saving')}
.both
:javascript
$('article .right').addClass('middlepadding');
- content_for :sidebar, render('sidebar')