First major stab at the integration of Courtland's CSS into
[selectricity] / app / views / site / _basic_login.rhtml
index cddd8f6af8caf45ca0d9adfc011b84200e156107..9c689fcb55f084236dedd595a2c7f95065a11fe5 100644 (file)
@@ -1,13 +1,13 @@
-<% -%>
-  <%= start_form_tag :controller => 'user', :action => 'login'  %>
-    <table>
-      <%= form_input :text_field, "Login ID", "login", :size => 30 %>
-      <%= form_input :password_field, "Password", "password", :size => 30 %>
-    </table>
-
-    <div class="button-bar">
-      <p><%= submit_tag 'Login' %></p>
-      <p><%= link_to 'Register for a new account?', :controller => 'user', :action => 'signup' %></p>
-      <p><%= link_to 'Lost or forgot your password?', :controller => 'user', :action => 'forgot_password' %></p>
-    </div>
-  <%= end_form_tag %>
+<% form_tag :controller => 'account', :action => 'login'  do %>
+
+  <p><label for="login">Login</label></p>
+  <p><%= text_field "Login", "login", :size => 30 %></p>
+  <p><label for="password">Password</label></p>
+  <p><%= password_field "Password", "password", :size => 30 %></p>
+
+  <p><%= submit_tag 'Login' %></p>
+<% end %>
+
+<p><%= link_to 'Register for an account', :controller => 'account', :action => 'signup' %></p>
+
+<p><%= link_to 'Lost or forgot your password?', :controller => 'account', :action => 'forgot_password' %></p>

Benjamin Mako Hill || Want to submit a patch?