First major stab at the integration of Courtland's CSS into
[selectricity] / app / views / site / _basic_login.rhtml
old mode 100755 (executable)
new mode 100644 (file)
index d3043db..9c689fc
@@ -1,22 +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>
+<% form_tag :controller => 'account', :action => 'login'  do %>
 
-    <div class="button-bar">
-      <p><%= submit_tag 'Login' %></p>
-<!--      <p><%= link_to 'Register for an account', :controller =>
-'user', :action => 'signup' %></p> -->
-      <p><%= link_to 'Lost or forgot your password?', :controller => 'user', :action => 'forgot_password' %></p>
+  <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>Unfortunately, Selectricity is currently being tested and new
-      accounts for full votes (i.e., non-<em>QuickVotes</em>) can not
-      be automatically created. If you are interested in using
-      Selectricity to
-      run an organizational election, contact <a
-      href="http://mako.cc/contact.html">Benjamin Mako Hill</a>.</p>
+  <p><%= submit_tag 'Login' %></p>
+<% end %>
 
-    </div>
-  <%= end_form_tag %>
+<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?