* refactored the system so that it keeps pictures in a seperate table
[selectricity] / app / views / site / _basic_login.rhtml
index f9bbd4a856dcdf7851f012b609418706addc6db4..689a3f56a231ac88e526cdaf52991dfa2cd2eecf 100644 (file)
@@ -1,12 +1,19 @@
 <% -%>
 <%= start_form_tag :controller => 'user', :action => 'login'  %>
<% form_tag :controller => 'account', :action => 'login'  do %>
     <table>
-      <%= form_input :text_field, "Login ID", "login", :size => 30 %>
-      <%= form_input :password_field, "Password", "password", :size => 30 %>
+         <label for="login">Login</label>
+      <%= text_field "Login", "login", :size => 30 %><br />
+      <label for="password">Password</label>
+      <%= password_field "Password", "password", :size => 30 %><br />
     </table>
 
     <div class="button-bar">
-      <%= submit_tag 'Login' %>
-      <%= link_to 'Register for an account', :controller => 'user', :action => 'signup' %> |
-      <%= link_to 'Forgot my password', :controller => 'user', :action => 'forgot_password' %>      </div>
-  <%= end_form_tag %>
+      <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>
+
+    </div>
+

Benjamin Mako Hill || Want to submit a patch?