Sha256: 682d67ec5231b5224230c7fab5511fdfb4803d1675550076559824b306fcae90
Contents?: true
Size: 937 Bytes
Versions: 2
Compression:
Stored size: 937 Bytes
Contents
<h2>Change your password</h2> <%= simple_form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :put }) do |f| %> <%= f.error_notification %> <%= f.input :reset_password_token, as: :hidden %> <%= f.full_error :reset_password_token %> <div class="form-inputs"> <%= f.input :password, label: "New password", required: true, autofocus: true, hint: ("#{@minimum_password_length} characters minimum" if @minimum_password_length), input_html: { autocomplete: "new-password" } %> <%= f.input :password_confirmation, label: "Confirm your new password", required: true, input_html: { autocomplete: "new-password" } %> </div> <div class="form-actions"> <%= f.button :submit, "Change my password" %> </div> <% end %> <%= render "kingsman/shared/links" %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
kingsman-0.1.1 | lib/generators/templates/simple_form_for/passwords/edit.html.erb |
kingsman-0.1.0 | lib/generators/templates/simple_form_for/passwords/edit.html.erb |