| OLD | NEW |
| 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—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—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 »" %></center> | 22 <center><%= submit_tag "Send Photo »" %></center> |
| 23 | 23 |
| 24 <%= end_form_tag %> | 24 <% end %> |
| OLD | NEW |