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

13 lines
376 B
Plaintext
Raw Permalink Normal View History

2008-10-01 02:57:49 -04:00
<%= form :action => url(:sessions) do -%>
2008-06-27 00:13:15 -04:00
<fieldset>
<legend>Login</legend>
<p><%= text_field :name => :username, :label => 'Username: ', :id => 'username' -%></p>
<p><%= password_field :name => :password, :label => 'Password: ' -%></p>
</fieldset>
2008-10-01 02:57:49 -04:00
<p><%= submit 'Login' -%></p>
<% end =%>
2008-06-27 00:13:15 -04:00
<script type="text/javascript">
$('username').focus();
2008-10-01 02:57:49 -04:00
</script>