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.1.11 templates/addons/devise/app/views/devise/passwords/edit.html.erb
rails_app_generator-0.1.10 templates/addons/devise/app/views/devise/passwords/edit.html.erb
rails_app_generator-0.1.9 templates/addons/devise/app/views/devise/passwords/edit.html.erb
rails_app_generator-0.1.8 templates/addons/devise/app/views/devise/passwords/edit.html.erb
rails_app_generator-0.1.7 templates/addons/devise/app/views/devise/passwords/edit.html.erb
rails_app_generator-0.1.6 templates/addons/devise/app/views/devise/passwords/edit.html.erb
rails_app_generator-0.1.5 templates/addons/devise/app/views/devise/passwords/edit.html.erb
rails_app_generator-0.1.4 templates/addons/devise/app/views/devise/passwords/edit.html.erb
rails_app_generator-0.1.3 templates/addons/devise/app/views/devise/passwords/edit.html.erb
rails_app_generator-0.1.2 templates/addons/devise/app/views/devise/passwords/edit.html.erb
rails_app_generator-0.1.1 templates/addons/devise/app/views/devise/passwords/edit.html.erb
rails_app_generator-0.1.0 templates/addons/devise/app/views/devise/passwords/edit.html.erb
rails_app_generator-0.0.15 templates/addons/devise/app/views/devise/passwords/edit.html.erb
rails_app_generator-0.0.14 templates/addons/devise/app/views/devise/passwords/edit.html.erb
rails_app_generator-0.0.13 templates/addons/devise/app/views/devise/passwords/edit.html.erb
rails_app_generator-0.0.12 templates/addons/devise/app/views/devise/passwords/edit.html.erb
rails_app_generator-0.0.11 templates/addons/devise/app/views/devise/passwords/edit.html.erb
rails_app_generator-0.0.10 templates/addons/devise/app/views/devise/passwords/edit.html.erb
rails_app_generator-0.0.9 templates/addons/devise/app/views/devise/passwords/edit.html.erb
rails_app_generator-0.0.8 templates/addons/devise/app/views/devise/passwords/edit.html.erb