Sha256: e1f4dbf8d4a195880e94d10f96f38ad3f99fd6fd7683dd73b1271157f23ab203

Contents?: true

Size: 1.15 KB

Versions: 64

Compression:

Stored size: 1.15 KB

Contents

<% content_for :devise_form do %>
  <h2 class="pt-4 mb-8 text-4xl font-bold heading">Change your password</h2>

  <%= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :put }) do |f| %>
    <%= render "devise/shared/error_messages", resource: resource %>
    <%= f.hidden_field :reset_password_token %>

    <div class="input-group">
      <div class="flex">
        <%= f.label :password, "New password", class:"label" %>
        <% if @minimum_password_length %>
          <em>(<%= @minimum_password_length %> characters minimum)</em>
        <% end %>
      </div>
      <%= f.password_field :password, autofocus: true, autocomplete: "new-password", class: "input" %>
    </div>

    <div class="input-group">
      <%= f.label :password_confirmation, "Confirm new password", class: "label" %>
      <%= f.password_field :password_confirmation, autocomplete: "off", class: "input" %>
    </div>

    <div class="input-group">
      <%= f.submit "Change my password", class: "btn btn-default" %>
    </div>
  <% end %>

  <hr class="mt-6 border" />

  <%= render "devise/shared/links" %>

<% end %>

<%= render "devise/shared/form_wrap" %>

Version data entries

64 entries across 64 versions & 2 rubygems

Version Path
rails_app_generator-0.2.22 templates/addons/devise/app/views/devise/passwords/edit.html.erb
rails_app_generator-0.2.21 templates/addons/devise/app/views/devise/passwords/edit.html.erb
rails_app_generator-0.2.20 templates/addons/devise/app/views/devise/passwords/edit.html.erb
rails_app_generator-0.2.19 templates/addons/devise/app/views/devise/passwords/edit.html.erb
rails_app_generator-0.2.18 templates/addons/devise/app/views/devise/passwords/edit.html.erb
rails_app_generator-0.2.17 templates/addons/devise/app/views/devise/passwords/edit.html.erb
rails_app_generator-0.2.16 templates/addons/devise/app/views/devise/passwords/edit.html.erb
rails_app_generator-0.2.15 templates/addons/devise/app/views/devise/passwords/edit.html.erb
rails_app_generator-0.2.14 templates/addons/devise/app/views/devise/passwords/edit.html.erb
rails_app_generator-0.2.13 templates/addons/devise/app/views/devise/passwords/edit.html.erb
rails_app_generator-0.2.12 templates/addons/devise/app/views/devise/passwords/edit.html.erb
rails_app_generator-0.2.11 templates/addons/devise/app/views/devise/passwords/edit.html.erb
rails_app_generator-0.2.10 templates/addons/devise/app/views/devise/passwords/edit.html.erb
rails_app_generator-0.2.9 templates/addons/devise/app/views/devise/passwords/edit.html.erb
rails_app_generator-0.2.8 templates/addons/devise/app/views/devise/passwords/edit.html.erb
rails_app_generator-0.2.7 templates/addons/devise/app/views/devise/passwords/edit.html.erb
rails_app_generator-0.2.6 templates/addons/devise/app/views/devise/passwords/edit.html.erb
rails_app_generator-0.2.5 templates/addons/devise/app/views/devise/passwords/edit.html.erb
rails_app_generator-0.2.4 templates/addons/devise/app/views/devise/passwords/edit.html.erb
rails_app_generator-0.2.3 templates/addons/devise/app/views/devise/passwords/edit.html.erb