Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(6)

Unified Diff: app/views/account/login.rhtml

Issue 2323: Upgrade to Rails 2 SVN Base: http://familyconnect.rubyforge.org/svn/trunk/
Patch Set: Created 1 year, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side by-side-diff with in-line comments
Download patch
Index: app/views/account/login.rhtml
===================================================================
--- app/views/account/login.rhtml (revision 36)
+++ app/views/account/login.rhtml (working copy)
@@ -1,11 +1,11 @@
-<%= start_form_tag :action=> "login" %>
+<% form_tag :action=> "login" do %>
<div title="Account login" id="loginform" class="form">
<h3>Please sign in</h3>
<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>
- <% if @flash['notice'] %>
- <div id="message"><%= @flash['notice'] %></div>
+ <% if flash['notice'] %>
+ <div id="message"><%= flash['notice'] %></div>
<% end %>
<div class="section">
@@ -22,5 +22,5 @@
</div>
</div>
-<%= end_form_tag %>
+<% end %>

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld r497