Sha256: 4dab4bb1058d605c5242f4689d5a9d87cd409069fcb4cbba66bd2680d6a15783
Contents?: true
Size: 1.04 KB
Versions: 1
Compression:
Stored size: 1.04 KB
Contents
<% javascript_tag do %> $(document).ready(function() { $('#user_password').bind('keypress', function(e) { var code = (e.keyCode ? e.keyCode : e.which); if (code == 13) { //Enter keycode $('#user_login').submit(); return false; } }); }); <% end %> <div class="prepend-1 prepend-top span-15"> <h2>Login</h2> <% re_form_for(:user, :url => user_login_path, :html => {:id => 'user_login'}, :span => "5x11") do |f|%> <% re_whitebox do %> <%= f.text_field :name, :size => 38, :required => true, :label => "Email or Login Name" %> <%= f.password_field :password, :size => 25, :required => true%> <%= re_check_box "Remember Me", :remember_me, false, false, :span => "5x11" %> <div class="span-11"> <%= link_to("Forgot Password?", user_pswd_forgot_path) %> </div> <div class="span-3"> <%= re_button_submit("Login", "green", :span => "3") %> </div> <div class="clear"></div> <% end %> <% end %> </div> <div class="clear"></div>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rules_engine_users-0.0.1 | rails_generators/templates/app/views/users/login_form.html.erb |