| OLD | NEW |
| 1 <h1><%= Setting[:title] %></h1> | 1 <h1><%= Setting[:title] %></h1> |
| 2 <% if current_user.nil? -%> | 2 <% if current_user.nil? -%> |
| 3 <h2>Congratulations!</h2><br/> | 3 <h2>Congratulations!</h2><br/> |
| 4 <p>It looks like this is your first time using Family Connection! As the admi
nistrator, you have just a couple of things to set up before this site is ready
to be used by your family.</p> | 4 <p>It looks like this is your first time using Family Connection! As the admi
nistrator, you have just a couple of things to set up before this site is ready
to be used by your family.</p> |
| 5 <% end -%> | 5 <% end -%> |
| 6 | 6 |
| 7 <h3>Upload a Family Photo</h3> | 7 <h3>Upload a Family Photo</h3> |
| 8 <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! | 8 <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! |
| 9 | 9 |
| 10 <%= start_form_tag({}, :multipart => true)%> | 10 <% form_tag({}, :multipart => true) do %> |
| 11 <div class="section"> | 11 <div class="section"> |
| 12 <table border="0"> | 12 <table border="0"> |
| 13 <tr> | 13 <tr> |
| 14 <% if @family_photo.image -%> | 14 <% if @family_photo.image -%> |
| 15 <td> | 15 <td> |
| 16 <%= image_tag(url_for_image_column(@family_photo, "image", :name => "thu
mb"), | 16 <%= image_tag(url_for_image_column(@family_photo, "image", :name => "thu
mb"), |
| 17 :style => 'float: none; margin-bottom: 0px') %> | 17 :style => 'float: none; margin-bottom: 0px') %> |
| 18 </td> | 18 </td> |
| 19 <% end -%> | 19 <% end -%> |
| 20 <td> | 20 <td> |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 <label for="family_info_family_password">Make up a family password:</label><br
/> | 66 <label for="family_info_family_password">Make up a family password:</label><br
/> |
| 67 <%= text_field 'family_info', 'family_password', :size => 35 %><br/> | 67 <%= text_field 'family_info', 'family_password', :size => 35 %><br/> |
| 68 </div> | 68 </div> |
| 69 | 69 |
| 70 <% if @first_time_install -%> | 70 <% if @first_time_install -%> |
| 71 <center><%= submit_tag "Next page (then you're done!)" %></center> | 71 <center><%= submit_tag "Next page (then you're done!)" %></center> |
| 72 <% else %> | 72 <% else %> |
| 73 <center><%= submit_tag "Save Settings" %></center> | 73 <center><%= submit_tag "Save Settings" %></center> |
| 74 <% end %> | 74 <% end %> |
| 75 | 75 |
| 76 <%= end_form_tag %> | 76 <% end %> |
| 77 | 77 |
| 78 <br/><br/> | 78 <br/><br/> |
| 79 <center><p>© 2005-2006 <%= link_to "Duane Johnson", "http://blog.inquirylab
s.com/" %> & Roxsane Fox. Design by <a href="http://andreasviklund.com">Andr
eas Viklund</a>.</p></center> | 79 <center><p>© 2005-2006 <%= link_to "Duane Johnson", "http://blog.inquirylab
s.com/" %> & Roxsane Fox. Design by <a href="http://andreasviklund.com">Andr
eas Viklund</a>.</p></center> |
| OLD | NEW |