Sha256: 9cf3b6f8b7dd2ec0867c2be63795dd9eec832ef9bbb1811e5a2cfba52b8a9896

Contents?: true

Size: 464 Bytes

Versions: 2

Compression:

Stored size: 464 Bytes

Contents

<% javascript_tag do %>

  $(document).ready(function() {	
  	
		$('#user_name').focus();
		
    $('#user_password').bind('keypress', function(e) {
      var code = (e.keyCode ? e.keyCode : e.which);
      if (code == 13) { //Enter keycode
        $('#user_login_form').submit();
        return false;      
      }
    });
  
  });
<% end %>

<div class="span-16 prepend-1">
	<div class="clear top-5"></div>
	<%= render :partial => '/users/login_form' %>
</div>	

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rules_engine_users-0.0.3 rails_generators/templates/app/views/users/login_form.html.erb
rules_engine_users-0.0.2 rails_generators/templates/app/views/users/login_form.html.erb