Sha256: e32c76cb22cc11673c12232c6ee5dd539215020794181a8a0fc3fdfa07dd530a

Contents?: true

Size: 1.37 KB

Versions: 8

Compression:

Stored size: 1.37 KB

Contents

- @title = "Sign In"
.container
  .row
    .col-lg-6.col-lg-offset-3.col-md-6.col-md-offset-3.col-sm-8.col-sm-offset-2
      .panel.panel-default.only

        .panel-heading
          Sign in

        .panel-body

          = form_for(resource, as: resource_name, url: session_path(resource_name), :html=>{:role=>:form, :class=>'form-horizontal'}) do |f|

            .form-group
              = f.label :email, :class=>'control-label col-sm-3'
              .col-sm-9= f.email_field :email, autofocus: true, :class=>'form-control'

            .form-group
              = f.label :password, :class=>'control-label col-sm-3'
              .col-sm-9= f.password_field :password, autocomplete: "off", :class=>'form-control'

            - if devise_mapping.rememberable?
              .form-group
                .col-sm-9.col-sm-offset-3
                  .checkbox
                    = f.label :remember_me do
                      = f.check_box :remember_me
                      Remember me

            .form-group
              .col-lg-9.col-lg-offset-3
                = f.submit "Sign in", :class=>'btn btn-primary form-control'

            .form-group
              .col-lg-9.col-lg-offset-3.text-right
                / CONNECT
                = link_to 'Sign up',  new_user_registration_path
                %br
                = link_to 'Forgot your password?', new_user_password_path

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
happy_seed-0.0.11 lib/generators/happy_seed/devise/templates/app/views/devise/sessions/new.html.haml
happy_seed-0.0.10 lib/generators/happy_seed/devise/templates/app/views/devise/sessions/new.html.haml
happy_seed-0.0.9 lib/generators/happy_seed/devise/templates/app/views/devise/sessions/new.html.haml
happy_seed-0.0.8 lib/generators/happy_seed/devise/templates/app/views/devise/sessions/new.html.haml
happy_seed-0.0.7 lib/generators/happy_seed/devise/templates/app/views/devise/sessions/new.html.haml
happy_seed-0.0.6 lib/generators/happy_seed/devise/templates/app/views/devise/sessions/new.html.haml
happy_seed-0.0.5 lib/generators/happy_seed/devise/templates/app/views/devise/sessions/new.html.haml
happy_seed-0.0.4 lib/generators/happy_seed/devise/templates/app/views/devise/sessions/new.html.haml