Sha256: bde04f85ca7fb6851739465cebd3a55d33007c53b4a2ea7582eb302b018b3547

Contents?: true

Size: 1.77 KB

Versions: 7

Compression:

Stored size: 1.77 KB

Contents

<div class="row single-form">

  <div class="small-6 columns">
    <%= form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f| %>
      <fieldset>
        <legend><%= _("Sign In") %></legend>
        <%= devise_error_messages! %>
        <div class="field">
	  <%= f.email_field :email, :autofocus => true, :class => "input email", :placeholder=>_("E-mail") %>
          <% if resource.errors[:email] -%>
	    <dd class="danger abel"><%= resource.errors[:email][0]%></dd>
          <% end -%>

        </div>

        <div class="field">
	  <%= f.password_field :password, :class => "input password", :placeholder=>_("Password") %>
          <% if resource.errors[:password] -%>
	    <dd class="danger abel"><%= resource.errors[:password][0] %></dd>
          <% end %>
        </div>
        <div class="field">
	  <% if devise_mapping.rememberable? -%>
	    <div><%= f.check_box :remember_me, :class=>"checkbox" %> <%= f.label _("Remember me") %></div>
	  <% end %>
        </div>

        <div class="right submit">
	  <%= f.submit _("Sign in"), :class => "button"%><br><br>
        </div>
        <%= render "devise/shared/links" %>

      </fieldset>

    <% end %>
  </div>


  <div class="small-6 columns">
    <div class="row">
      <fieldset>

        <legend><%= _("Login using") %>:</legend>

        <div class="text-left">
          <a href="/auth/google_oauth2/" class="pull_right">
            <i class="fa-google-plus-square fa fa-3x"></i>
          </a>

          <a href="/auth/facebook/" class="pull_right">
            <i class="fa-facebook-square fa fa-3x"></i>
          </a>

          <a href="/auth/twitter/" class="pull_right">
            <i class="fa-twitter-square fa fa-3x"></i>
          </a>
        </div>
      </fieldset>

    </div>
  </div>
</div>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
faalis-1.0.0.alpha0 app/views/devise/sessions/new.html.erb
faalis-0.26.3 app/views/devise/sessions/new.html.erb
faalis-0.26.2 app/views/devise/sessions/new.html.erb
faalis-0.26.1 app/views/devise/sessions/new.html.erb
faalis-0.26.0 app/views/devise/sessions/new.html.erb
faalis-0.25.1 app/views/devise/sessions/new.html.erb
faalis-0.25.0 app/views/devise/sessions/new.html.erb