Sha256: be6cbfca0efd9bc1408dfe057db857b59c6dba7166eda02456c14cd1eea8e046

Contents?: true

Size: 941 Bytes

Versions: 5

Compression:

Stored size: 941 Bytes

Contents

.ui.middle.aligned.center.aligned.grid
  .column
    %h2.ui.center.aligned.dividing.header.teal
      %i.lock.icon
      <%- if options[:metatags] %>
      = title('Resend unlock instructions')
      <% else -%>
      | Resend unlock instructions
      <%- end %>
    %div{class: "ui form large #{"error" if resource.errors.any?}"}
      = simple_form_for(resource, as: resource_name, url: unlock_path(resource_name), html: { method: :post }) do |f|
        = f.error_notification
        = f.full_error :unlock_token
        .field
          = f.input :email, required: true, autofocus: true, input_html: { autocomplete: 'email' }
        .actions
          = f.button :submit, 'Resend unlock instructions'
      .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/unlocks/new.html.haml.tt
semantic_ui_views_generator-0.0.8 lib/generators/semantic/templates/devise/simple_form/haml/unlocks/new.html.haml.tt
semantic_ui_views_generator-0.0.7 lib/generators/semantic/templates/devise/simple_form/haml/unlocks/new.html.haml.tt
semantic_ui_views_generator-0.0.6 lib/generators/semantic/templates/devise/simple_form/haml/unlocks/new.html.haml.tt
semantic_ui_views_generator-0.0.5 lib/generators/semantic/templates/devise/simple_form/haml/unlocks/new.html.haml.tt