Sha256: 106d222b7b23666e0a750e50d5f6765ea14fb3141585388af744124e4589ba82

Contents?: true

Size: 1021 Bytes

Versions: 71

Compression:

Stored size: 1021 Bytes

Contents

%h2
  Редактивароние аккаунта #{resource_name.to_s.humanize}
= form_for(resource, :as => resource_name, :url => registration_path(resource_name), :html => { :method => :put }) do |f|
  = devise_error_messages!
  %p
    = f.label :email
    %br/
    = f.email_field :email
  %p
    = f.label :password
    %i (оставьте пустым, если хотите сохранить пароль прежним)
    %br/
    = f.password_field :password
  %p
    = f.label :password_confirmation
    %br/
    = f.password_field :password_confirmation
  %p
    = f.label :current_password
    %i (необходимо ввести ваш текущий пароль для подтверждения изменений)
    %br/
    = f.password_field :current_password
  %p= f.submit "Сохранить"
%h3 Удалить мой аккаунт
%p
  #{link_to "Удалить", registration_path(resource_name), :confirm => "Вы уверены?", :method => :delete}.
= link_to "Назад", :back

Version data entries

71 entries across 71 versions & 3 rubygems

Version Path
constructor-core-0.8.19 app/views/constructor_core/devise/registrations/edit.html.haml
constructor-core-0.8.18 app/views/constructor_core/devise/registrations/edit.html.haml
constructor-core-0.8.17 app/views/constructor_core/devise/registrations/edit.html.haml
constructor-core-0.8.16 app/views/constructor_core/devise/registrations/edit.html.haml
constructor-core-0.8.15 app/views/constructor_core/devise/registrations/edit.html.haml
constructor-core-0.8.14 app/views/constructor_core/devise/registrations/edit.html.haml
constructor-core-0.8.13 app/views/constructor_core/devise/registrations/edit.html.haml
constructor-core-0.8.12 app/views/constructor_core/devise/registrations/edit.html.haml
constructor-core-0.8.11 app/views/constructor_core/devise/registrations/edit.html.haml
constructor-core-0.8.10 app/views/constructor_core/devise/registrations/edit.html.haml
constructor-core-0.8.8 app/views/constructor_core/devise/registrations/edit.html.haml
constructor-core-0.8.7 app/views/constructor_core/devise/registrations/edit.html.haml
constructor-core-0.8.6 app/views/constructor_core/devise/registrations/edit.html.haml
constructor-core-0.8.5 app/views/constructor_core/devise/registrations/edit.html.haml
constructor-core-0.8.4 app/views/constructor_core/devise/registrations/edit.html.haml
constructor-core-0.8.3 app/views/constructor_core/devise/registrations/edit.html.haml
constructor-core-0.8.2 app/views/constructor_core/devise/registrations/edit.html.haml
constructor-core-0.8.1 app/views/constructor_core/devise/registrations/edit.html.haml
constructor-core-0.8.0 app/views/constructor_core/devise/registrations/edit.html.haml
constructor-core-0.7.10 app/views/constructor_core/devise/registrations/edit.html.haml