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

Side by Side Diff: app/views/account/upload_photo.rhtml

Issue 2323: Upgrade to Rails 2 SVN Base: http://familyconnect.rubyforge.org/svn/trunk/
Patch Set: Created 6 months, 3 weeks 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 <%= start_form_tag({:action => "update", :id => @user}, :multipart => true) %> 1 <% form_tag({:action => "update", :id => @user}, :multipart => true) do %>
2 2
3 <div title="Upload your photo" class="form"> 3 <div title="Upload your photo" class="form">
4 <%= error_messages_for 'user' %><br/> 4 <%= error_messages_for 'user' %><br/>
5 5
6 <h3>Send us your picture</h3> 6 <h3>Send us your picture</h3>
7 <p>If you have a digital photograph of yourself available on your computer, yo u can upload it to the website here by clicking on the <i>browse</i> button and then finding it on your computer. Your address book listing will include a smal l version of the photograph.</p> 7 <p>If you have a digital photograph of yourself available on your computer, yo u can upload it to the website here by clicking on the <i>browse</i> button and then finding it on your computer. Your address book listing will include a smal l version of the photograph.</p>
8 <div class="section"> 8 <div class="section">
9 <table border="0"> 9 <table border="0">
10 <tr> 10 <tr>
11 <% if @user.portrait -%> 11 <% if @user.portrait -%>
12 <td> 12 <td>
13 <%= image_tag(url_for_image_column(@user, "portrait", :name => "thumb" ), 13 <%= image_tag(url_for_image_column(@user, "portrait", :name => "thumb" ),
14 :style => 'float: none; margin-bottom: 0px') %> 14 :style => 'float: none; margin-bottom: 0px') %>
15 </td> 15 </td>
16 <% end -%> 16 <% end -%>
17 <td> 17 <td>
18 <label for="user_portrait">Upload a picture of you:</label><br/> 18 <label for="user_portrait">Upload a picture of you:</label><br/>
19 <%= file_column_field "user", "portrait" %> 19 <%= file_column_field "user", "portrait" %>
20 </td> 20 </td>
21 </tr> 21 </tr>
22 </table> 22 </table>
23 </div> 23 </div>
24 24
25 <input type="submit" value="Send Photo &#187;" class="primary" /> 25 <input type="submit" value="Send Photo &#187;" class="primary" />
26 </div> 26 </div>
27 <%= end_form_tag %> 27 <% end %>
28 28
OLDNEW

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