Sha256: aa3720771699a104a9d61541badb200ad18498e1df446fc95009520a72d08cbb

Contents?: true

Size: 842 Bytes

Versions: 6

Compression:

Stored size: 842 Bytes

Contents

<div id="login_box">
  <div id="alchemy_greeting">
    <%= image_tag 'alchemy/alchemy-logo.svg', id: 'logo' %>
  </div>
  <div class="login_signup_box">
    <%= alchemy_form_for :user, url: {action: 'create'}, id: 'login' do |f| %>
      <%= f.input :login, autofocus: true %>
      <%= f.input :password %>
      <p class="foot_note">
        <%= link_to _t('Forgot your password?'), new_password_path %>
      </p>
      <div class="submit">
        <%= hidden_field_tag 'user_screensize' %>
        <button><%= _t(:login) %></button>
      </div>
    <% end %>
  </div>
</div>

<%- content_for :javascripts do -%>
<script type="text/javascript" charset="utf-8">
  jQuery(function($) {
    $('#user_login').focus();
    $('#user_screensize').val(function() {
      return screen.width+'x'+screen.height;
    });
  });
</script>
<%- end -%>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
alchemy-devise-3.2.0 app/views/alchemy/user_sessions/new.html.erb
alchemy-devise-2.1.0 app/views/alchemy/user_sessions/new.html.erb
alchemy-devise-2.1.0.beta3 app/views/alchemy/user_sessions/new.html.erb
alchemy-devise-2.1.0.beta2 app/views/alchemy/user_sessions/new.html.erb
alchemy-devise-2.1.0.beta1 app/views/alchemy/user_sessions/new.html.erb
alchemy-devise-2.0.0 app/views/alchemy/user_sessions/new.html.erb