Sha256: 193e7fe7e96ab9695ba5db417e0c3fb41d3749a23a98b495fd0aee421d47ae71

Contents?: true

Size: 920 Bytes

Versions: 5

Compression:

Stored size: 920 Bytes

Contents

.ui.middle.aligned.center.aligned.grid
  .column
    %h2.ui.center.aligned.dividing.header.teal
      %i.sign.in.icon
      <%- if options[:metatags] %>
      = title('Log in')
      <% else -%>
      | Log in
      <%- end %>
    .ui.large.form
      = simple_form_for(resource, as: resource_name, url: session_path(resource_name)) do |f|
        .field
          = f.input :email, required: false, autofocus: true, input_html: { autocomplete: 'email' }
          = f.input :password, required: false, input_html: { autocomplete: 'current-password' }
          = f.input :remember_me, as: :boolean if devise_mapping.rememberable?
        .actions
          = f.button :submit, 'Log in'
      .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/sessions/new.html.haml.tt
semantic_ui_views_generator-0.0.8 lib/generators/semantic/templates/devise/simple_form/haml/sessions/new.html.haml.tt
semantic_ui_views_generator-0.0.7 lib/generators/semantic/templates/devise/simple_form/haml/sessions/new.html.haml.tt
semantic_ui_views_generator-0.0.6 lib/generators/semantic/templates/devise/simple_form/haml/sessions/new.html.haml.tt
semantic_ui_views_generator-0.0.5 lib/generators/semantic/templates/devise/simple_form/haml/sessions/new.html.haml.tt