Sha256: 53a981fdccfd31857041f740f5c53f9d3e0da8b09a857870ee300915a679a90c

Contents?: true

Size: 1.13 KB

Versions: 5

Compression:

Stored size: 1.13 KB

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
      = form_for(resource, as: resource_name, url: session_path(resource_name)) do |f|
        .field
          = f.label :email
          .ui.left.icon.input
            = f.email_field :email, autofocus: true ,placeholder:"Email"
            %i.user.icon
        .field
          = f.label :password
          .ui.left.icon.input
            = f.password_field :password, autocomplete: "off" ,placeholder:"Password"
            %i.lock.icon
        - if devise_mapping.rememberable?
          .ui.checkbox
            = f.check_box :remember_me
            = f.label :remember_me
            %br
        .actions
          = f.submit "Log in", class: "ui submit button fluid teal"
      .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/haml/sessions/new.html.haml.tt
semantic_ui_views_generator-0.0.8 lib/generators/semantic/templates/devise/haml/sessions/new.html.haml.tt
semantic_ui_views_generator-0.0.7 lib/generators/semantic/templates/devise/haml/sessions/new.html.haml.tt
semantic_ui_views_generator-0.0.6 lib/generators/semantic/templates/devise/haml/sessions/new.html.haml.tt
semantic_ui_views_generator-0.0.5 lib/generators/semantic/templates/devise/haml/sessions/new.html.haml.tt