Commit 699aef33

mo k <mo@mokhan.ca>
2012-05-26 14:05:53
tidy up ui for the new interests checkbox.
1 parent 2389fbe
Changed files (1)
app
views
registrations
app/views/registrations/edit.html.erb
@@ -55,12 +55,19 @@
           <div class="controls"> <%= f.text_field :facebook, :class => "input-xlarge", :placeholder => "http://www.facebook.com/your_profile", :maxlength => "255" %> </div>
         </div><!-- /control-group -->
         <div class="control-group">
-          <% for interest in Interest.all %>
-            <label class="checkbox">
-              <%= check_box_tag "user[interest_ids][]", interest.id, current_user.interests.include?(interest) %>
-              <%= interest.name %>
-            </label>
-          <% end %>
+          <label class="control-label">Categories</label>
+          <div class="controls">
+            <% for interest in Interest.all %>
+              <label class="checkbox">
+                <%= check_box_tag "user[interest_ids][]", interest.id, current_user.interests.include?(interest) %>
+                <%= interest.name %>
+              </label>
+            <% end %>
+          </div>
+          <p class="help-block">
+          <strong>Note:</strong> 
+          Help us categorize your interests by checking off one or more from the above list.
+          </p>
         </div><!-- /control-group -->
         <div class="form-actions">
           <input type="submit" class="btn btn-primary" value="Save changes" />