Home

Pages Classes Methods

    Pages

    • LICENSE
    • README
    • new.html.haml
    • confirmation_instructions.fr.html.haml
    • confirmation_instructions.html.haml
    • reset_password_instructions.fr.html.haml
    • reset_password_instructions.html.haml
    • unlock_instructions.fr.html.haml
    • unlock_instructions.html.haml
    • edit.html.haml
    • new.html.haml
    • edit.html.haml
    • new.html.haml
    • new.html.haml
    • _links.haml
    • new.html.haml
    • devise_views_translated_tasks.rake
    • if is_mobile_request? %div{‘data-role’ => ‘header’,‘data-theme’=>“b”,‘data-add-back-btn’=>“true”}

      = link_to "Home", root_url, 'data-role' => 'button' ,'data-icon'=>'home','data-iconpos'=>"notext"
      
      %h2=t('devise.common.sign_in')

      %div{‘data-role’ => ‘content’}

      = form_for(resource, :as => resource_name, :url => session_path(resource_name),:html=>{'data-ajax'=>"false"}) do |f|
        %div.field.fieldcontain.ui-hide-label
          = f.label :email
          = f.email_field :email,:placeholder=>:email
        %div.field.fieldcontain.ui-hide-label
          = f.label :password
          = f.password_field :password,:placeholder=>:password
        - if devise_mapping.rememberable?
          %fieldset{'data-role' => 'controlgroup'}
            .center-checkbox
              = f.check_box :remember_me
              = f.label :remember_me
          .center-button
            = f.submit t('devise.common.sign_in'),'data-inline'=>"true" ,'data-theme'=>"b", 'data-icon'=>"arrow-r"
      = render :partial => "devise/shared/links"
    • else .panel.panel-default

      .panel-heading
        %h4=t('devise.common.sign_in')
      .panel-body
        = form_for(resource, :as => resource_name, :url => session_path(resource_name),:html=> { :role=> "form" }) do |f|
          .form-group
            -#= f.label :email
            = f.email_field :email, :autofocus=> true, :class=> "form-control", :placeholder => t('activerecord.attributes.user.email')
          .form-group
            -#= f.label :password
            = f.password_field :password ,:class=> "form-control" ,:placeholder => t('activerecord.attributes.user.password')
          - if devise_mapping.rememberable?
            .checkbox
              = f.check_box :remember_me
              = f.label :remember_me
          %p= f.submit t('devise.common.sign_in') ,:class=> "btn btn-primary"
        = render :partial => "devise/shared/links"

    Validate

    Generated by RDoc 6.4.0.

    Based on Darkfish by Michael Granger.