Sha256: 0a83b2743a9d8f35dfc2ad72dd8e9e2139440c8c933b1877901611dc6842f869

Contents?: true

Size: 1.3 KB

Versions: 2

Compression:

Stored size: 1.3 KB

Contents

<%= uikit_devise_error_messages! %>
<div class="uk-grid uk-panel-devise" data-uk-grid-margin>
  <div class="uk-width-medium-1-2 uk-container-center uk-row-first">
    <div class="uk-panel uk-panel-box">
      <h1><%= t('.change_your_password', :default => 'Change your password') %></h1>
      <%= form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :put, role: "form" }) do |f| %>
      <%= f.hidden_field :reset_password_token %>

      <div class="uk-form uk-form-stacked">
        <div class="uk-form-row">
          <%= f.label :password, t('.new_password', :default => 'New password'), :class => "uk-form-label" %>
          <%= f.password_field :password, autofocus: true, :class => "uk-form-controls uk-form-width-large"  %>
        </div>

        <div class="uk-form-row">
          <%= f.label :password_confirmation, t('.confirm_new_password', :default => 'Confirm new password'), :class => "uk-form-label" %>
          <%= f.password_field :password_confirmation, :class => "uk-form-controls uk-form-width-large"  %>
        </div>
        <br />
        <%= f.button t('.change_my_password', :default => 'Change my password'), :class => 'uk-button uk-button-primary' %>
        <% end %>
      </div>
    </div>
    <%= render "devise/shared/links" %>
  </div>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
devise-uikit-views-1.0.1 app/views/devise/passwords/edit.html.erb
devise-uikit-views-0.0.2 app/views/devise/passwords/edit.html.erb