Sha256: 16a67572b314261ae3425c3ec0f53d010cf9de08e648359fba8f03d65a222aa5
Contents?: true
Size: 990 Bytes
Versions: 4
Compression:
Stored size: 990 Bytes
Contents
<%- if options[:metatags] %> <h2 class="text-center"><%%= title('Change your password') %></h2> <% else -%> <h2 class="text-center">Change your password</h2> <%- end %> <%%= 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-group"> <%%= 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-group"> <%%= f.button :submit, 'Change my password', class: 'btn btn-primary btn-block btn-lg' %> </div> <%% end %> <%%= render 'devise/shared/links' %>
Version data entries
4 entries across 4 versions & 1 rubygems