Sha256: b1e9d489a57150c0c13415cef9e4acc5d566802d5c2aa2476f6942ddfc2fc199

Contents?: true

Size: 856 Bytes

Versions: 2

Compression:

Stored size: 856 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 Alchemy.t('Forgot your password?'), new_password_path %>
      </p>
      <div class="submit">
        <%= hidden_field_tag 'user_screensize' %>
        <button><%= Alchemy.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

2 entries across 2 versions & 1 rubygems

Version Path
alchemy-devise-3.4.0 app/views/alchemy/user_sessions/new.html.erb
alchemy-devise-3.3.0 app/views/alchemy/user_sessions/new.html.erb