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

Side by Side 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, 4 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 unified diff | Download patch
OLDNEW
1 <h3>Upload a Family Photo</h3> 1 <h3>Upload a Family Photo</h3>
2 <p>This family photo will be displayed on the front page of your Family Connecti on site. It should be at least 512 pixels wide&mdash;anything larger is fine, s ince the picture will be resized automatically. If you don't know if your pictu re is large enough, don't worry. Just try it out and see if it looks right! 2 <p>This family photo will be displayed on the front page of your Family Connecti on site. It should be at least 512 pixels wide&mdash;anything larger is fine, s ince the picture will be resized automatically. If you don't know if your pictu re is large enough, don't worry. Just try it out and see if it looks right!
3 3
4 <%= start_form_tag({}, :multipart => true)%> 4 <% form_tag({}, :multipart => true) do %>
5 <div class="section"> 5 <div class="section">
6 <table border="0"> 6 <table border="0">
7 <tr> 7 <tr>
8 <% if @family_photo.image -%> 8 <% if @family_photo.image -%>
9 <td> 9 <td>
10 <%= image_tag(url_for_image_column(@family_photo, "image", :name => "thu mb"), 10 <%= image_tag(url_for_image_column(@family_photo, "image", :name => "thu mb"),
11 :style => 'float: none; margin-bottom: 0px') %> 11 :style => 'float: none; margin-bottom: 0px') %>
12 </td> 12 </td>
13 <% end -%> 13 <% end -%>
14 <td> 14 <td>
15 <label for="family_photo_image">Upload a picture of your family:</label> <br/> 15 <label for="family_photo_image">Upload a picture of your family:</label> <br/>
16 <%= file_column_field "family_photo", "image" %> 16 <%= file_column_field "family_photo", "image" %>
17 </td> 17 </td>
18 </tr> 18 </tr>
19 </table> 19 </table>
20 </div> 20 </div>
21 21
22 <center><%= submit_tag "Send Photo &#187;" %></center> 22 <center><%= submit_tag "Send Photo &#187;" %></center>
23 23
24 <%= end_form_tag %> 24 <% end %>
OLDNEW

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