Sha256: 4bd7603a9adee25c78d1b6e9900ef095dcc8947ccd631fe5bbb7005603bb1efb

Contents?: true

Size: 1001 Bytes

Versions: 3

Compression:

Stored size: 1001 Bytes

Contents

.md:mx-auto.md:max-w-md.overflow-hidden.mx-0
  .shadow-md.rounded.px-8.pt-6.pb-8.mb-4.flex.flex-col.justify-center.bg-gray-50
<%- if options[:metatags] -%>
    %h2.text-center.text-xl.text-black= title('Change your password')
<%- else -%>
    %h2.text-center.text-xl.text-black Change your password
<%- 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
      = 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' }
      = f.button :submit, 'Change my password', class: 'w-full'
    = render 'devise/shared/links'

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tailwind_views_generator-0.0.3 lib/templates/devise/simple_form/haml/passwords/edit.html.haml.tt
tailwind_views_generator-0.0.2 lib/templates/devise/simple_form/haml/passwords/edit.html.haml.tt
tailwind_views_generator-0.0.1 lib/templates/devise/simple_form/haml/passwords/edit.html.haml.tt