Sha256: ab4bc901ea34cee6aff417ede73ef973cdbcbe62ca4d3ec31225607204ecbdba

Contents?: true

Size: 1.05 KB

Versions: 12

Compression:

Stored size: 1.05 KB

Contents

<% @meta_title = "Редактировать профиль" %>
<% page_title "Редактировать профиль" %>
<div class="ct-box">
  <%= form_for(resource, :as => resource_name, :url => registration_path(resource_name), :html => { :method => :put }) do |f| %>
    <%= devise_error_messages! %>
    <p><%= f.label :email %>
    <%= f.email_field :email %></p>
    <p><%= f.label :password %> <i>(оставьте пустым, если не хотите менять)</i><br />
    <%= f.password_field :password %></p>
    <p><%= f.label :password_confirmation %>
    <%= f.password_field :password_confirmation %></p>
    <p><%= f.label :current_password %> <i>(введите текущий пароль, чтобы сохранить изменения)</i><br />
    <%= f.password_field :current_password %></p>
    <p><%= f.submit "Обновить" %></p>
  <% end %>
  <p>Или <%= link_to "удалить профиль", registration_path(resource_name), :confirm => t('sure?'), :method => :delete %>.</p>
  <%= link_to "Назад", :back %>
</div>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
devise_russian-0.0.29 app/views/devise/registrations/edit.html.erb
devise_russian-0.0.28 app/views/devise/registrations/edit.html.erb
devise_russian-0.0.27 app/views/devise/registrations/edit.html.erb
devise_russian-0.0.26 app/views/devise/registrations/edit.html.erb
devise_russian-0.0.25 app/views/devise/registrations/edit.html.erb
devise_russian-0.0.24 app/views/devise/registrations/edit.html.erb
devise_russian-0.0.23 app/views/devise/registrations/edit.html.erb
devise_russian-0.0.22 app/views/devise/registrations/edit.html.erb
devise_russian-0.0.21 app/views/devise/registrations/edit.html.erb
devise_russian-0.0.13 app/views/devise/registrations/edit.html.erb
devise_russian-0.0.12 app/views/devise/registrations/edit.html.erb
devise_russian-0.0.11 app/views/devise/registrations/edit.html.erb