Diff
Modified: edge/samples/sports/CHANGELOG (874 => 875)
--- edge/samples/sports/CHANGELOG 2008-06-24 01:03:26 UTC (rev 874)
+++ edge/samples/sports/CHANGELOG 2008-06-24 01:05:39 UTC (rev 875)
@@ -1,3 +1,5 @@
+06/23/08 - Added examples of edit help text and tooltips to coach_ui.rb [Matthew Bass]
+
06/16/08 - Updated to Rails 2.1 [Matthew Bass]
10/06/07 - Copied fresh styling from latest version of Streamlined [Matthew Bass]
Modified: edge/samples/sports/app/streamlined/coach_ui.rb (874 => 875)
--- edge/samples/sports/app/streamlined/coach_ui.rb 2008-06-24 01:03:26 UTC (rev 874)
+++ edge/samples/sports/app/streamlined/coach_ui.rb 2008-06-24 01:05:39 UTC (rev 875)
@@ -10,6 +10,12 @@
# Coach.class_eval { include CoachAdditions }
Streamlined.ui_for(Coach) do
+ user_columns :first_name, { :html_options => { :title => "This field is required" }},
+ :last_name,
+ :middle_name, { :help => "This field is optional" },
+ :sponsors,
+ :team
+
# Since we're redirecting back to the list view using render_filter in CoachesController, we need
# to disable AJAX when editing and saving a record. The UI gets confused if we don't.
edit_submit_button :ajax => false
Modified: edge/samples/sports/public/stylesheets/streamlined.css (874 => 875)
--- edge/samples/sports/public/stylesheets/streamlined.css 2008-06-24 01:03:26 UTC (rev 874)
+++ edge/samples/sports/public/stylesheets/streamlined.css 2008-06-24 01:05:39 UTC (rev 875)
@@ -12,6 +12,7 @@
#ft { background-color: #7594A1; margin-top: -16px; }
.clear { clear: both; overflow: hidden; width: 1px; height: 1px; margin: 0 -1px -1px 0; border: 0; padding: 0; font-size: 0; line-height: 0; }
#streamlined_breadcrumb { font-size: 80%; font-weight: bold; margin-top: 5px; margin-bottom: 5px;}
+.streamlined_help { font-size: 80%; }
/*----------------------------------*/