<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Eribium | Login</title>
  <%= stylesheet_link_tag 'eribium' %>
  <%= javascript_include_tag :defaults %>
  </head>
  
  <body>
  
  <div id="login">
  
  <% if flash[:notice] -%>
  <div id="loginerror"> <%= flash[:notice] %></div>
  <script type="text/javascript">
    new Effect.Pulsate('loginerror');
  </script>
  <% end -%>
  
  
<%= form_tag({ :id => 'login'}) %>
    <p><label for="name">Username:</label><br/>
    <%= text_field("user", "name") %></p>

    <p><label for="password">Password:</label><br/>
    <%= password_field("user", "password") %></p> 
 <p>
   <%= submit_tag 'Login', :class => 'submit' %>
   </p>

<%= end_form_tag %>

<script type="text/javascript">
Form.focusFirstElement('login');
</script>