| OLD | NEW |
| 1 <%= start_form_tag :action=> "login" %> | 1 <% form_tag :action=> "login" do %> |
| 2 | 2 |
| 3 <div title="Account login" id="loginform" class="form"> | 3 <div title="Account login" id="loginform" class="form"> |
| 4 <h3>Please sign in</h3> | 4 <h3>Please sign in</h3> |
| 5 | 5 |
| 6 <p>If you're visiting this page, then we are assuming that you've already <%
= link_to "registered yourself", :action => 'signup' %>. If not, then please <%
= link_to 'click here', :action => 'signup' %> to register before signing in.</p
> | 6 <p>If you're visiting this page, then we are assuming that you've already <%
= link_to "registered yourself", :action => 'signup' %>. If not, then please <%
= link_to 'click here', :action => 'signup' %> to register before signing in.</p
> |
| 7 <% if @flash['notice'] %> | 7 <% if flash['notice'] %> |
| 8 <div id="message"><%= @flash['notice'] %></div> | 8 <div id="message"><%= flash['notice'] %></div> |
| 9 <% end %> | 9 <% end %> |
| 10 | 10 |
| 11 <div class="section"> | 11 <div class="section"> |
| 12 <label for="user_login">Your sign-in name:</label><br/> | 12 <label for="user_login">Your sign-in name:</label><br/> |
| 13 <input type="text" name="user_login" id="user_login" size="30" value=""/><
br/> | 13 <input type="text" name="user_login" id="user_login" size="30" value=""/><
br/> |
| 14 | 14 |
| 15 <label for="user_password">Your password:</label><br/> | 15 <label for="user_password">Your password:</label><br/> |
| 16 <input type="password" name="user_password" id="user_password" size="30"/>
<br/> | 16 <input type="password" name="user_password" id="user_password" size="30"/>
<br/> |
| 17 <div><b>Note:</b> This password is <em>not</em> the family password.<br/>T
his is your own password that you made up when you registered.</div> | 17 <div><b>Note:</b> This password is <em>not</em> the family password.<br/>T
his is your own password that you made up when you registered.</div> |
| 18 | 18 |
| 19 <br/> | 19 <br/> |
| 20 <input type="submit" name="login" value="Login »" class="primary" /> | 20 <input type="submit" name="login" value="Login »" class="primary" /> |
| 21 <input type="button" value="I Forgot My Password" onClick="window.location
='<%= url_for :action => 'forgot_password' %>'" /> | 21 <input type="button" value="I Forgot My Password" onClick="window.location
='<%= url_for :action => 'forgot_password' %>'" /> |
| 22 </div> | 22 </div> |
| 23 </div> | 23 </div> |
| 24 | 24 |
| 25 <%= end_form_tag %> | 25 <% end %> |
| 26 | 26 |
| OLD | NEW |