Sha256: 67177a5e3cd9643449691ee0b2696d045cd37597f49b3984a3d51962ccf52025
Contents?: true
Size: 989 Bytes
Versions: 2
Compression:
Stored size: 989 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
constructor-core-0.9.1 | app/views/constructor_core/devise/registrations/edit.html.slim |
constructor-core-0.9.0 | app/views/constructor_core/devise/registrations/edit.html.slim |