Sha256: ebc6f76ca9eb68ef3396e0225bdeac280dd2a90bd834e7776b2f59f72162e4ba

Contents?: true

Size: 1.12 KB

Versions: 5

Compression:

Stored size: 1.12 KB

Contents

.ui.middle.aligned.center.aligned.grid
  .column
    %h2.ui.center.aligned.dividing.header.teal
      %i.lock.icon
      <%- if options[:metatags] %>
      = title('Change your password')
      <% else -%>
      | 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
      .field
        = 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' }
      .actions
        = f.button :submit, 'Change my password'
    .ui.horizontal.divider or
    .ui.horizontal.list
      = render "devise/shared/links"
:css
  body > .grid { height: 90%; }
  .column { max-width: 450px; }
  @media (min-width: 768px){
    .column { max-width: 600px; }
  }

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
semantic_ui_views_generator-0.0.9 lib/generators/semantic/templates/devise/simple_form/haml/passwords/edit.html.haml.tt
semantic_ui_views_generator-0.0.8 lib/generators/semantic/templates/devise/simple_form/haml/passwords/edit.html.haml.tt
semantic_ui_views_generator-0.0.7 lib/generators/semantic/templates/devise/simple_form/haml/passwords/edit.html.haml.tt
semantic_ui_views_generator-0.0.6 lib/generators/semantic/templates/devise/simple_form/haml/passwords/edit.html.haml.tt
semantic_ui_views_generator-0.0.5 lib/generators/semantic/templates/devise/simple_form/haml/passwords/edit.html.haml.tt