This repository has been archived on 2020-05-27. You can view files and clone it, but cannot push or open issues/pull-requests.
tuxbliki/app/views/sessions/new.html.erb

12 lines
385 B
Plaintext
Raw Normal View History

2008-06-27 00:13:15 -04:00
<% 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>