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

Unified Diff: app/views/administrator/upload_family_photo.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/administrator/upload_family_photo.rhtml
===================================================================
--- app/views/administrator/upload_family_photo.rhtml (revision 36)
+++ app/views/administrator/upload_family_photo.rhtml (working copy)
@@ -1,7 +1,7 @@
<h3>Upload a Family Photo</h3>
<p>This family photo will be displayed on the front page of your Family Connection site. It should be at least 512 pixels wide&mdash;anything larger is fine, since the picture will be resized automatically. If you don't know if your picture is large enough, don't worry. Just try it out and see if it looks right!
-<%= start_form_tag({}, :multipart => true)%>
+<% form_tag({}, :multipart => true) do %>
<div class="section">
<table border="0">
<tr>
@@ -21,4 +21,4 @@
<center><%= submit_tag "Send Photo &#187;" %></center>
-<%= end_form_tag %>
+<% end %>

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