12 lines
385 B
Plaintext
12 lines
385 B
Plaintext
|
<% form_tag :action => url(:sessions) do -%>
|
||
|
<fieldset>
|
||
|
<legend>Login</legend>
|
||
|
<p><%= text_field :name => :username, :label => 'Username: ', :id => 'username' -%></p>
|
||
|
<p><%= password_field :name => :password, :label => 'Password: ' -%></p>
|
||
|
</fieldset>
|
||
|
<p><%= submit_button 'Login' -%></p>
|
||
|
<% end -%>
|
||
|
|
||
|
<script type="text/javascript">
|
||
|
$('username').focus();
|
||
|
</script>
|