- Timestamp:
- 01/22/07 04:55:57 (5 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/trax/vendor/trax/action_view/helpers/active_record_helper.php
r271 r277 179 179 sprintf($header_message, Inflector::pluralize("error", count($object->errors)), Inflector::humanize($object_name)) 180 180 ) . 181 $this->content_tag("p", "There were problems with the following fields:") .181 $this->content_tag("p", $header_sub_message) . 182 182 $this->content_tag("ul", array_reduce($object->errors, create_function('$v,$w', 'return ($v ? $v : "") . content_tag("li", $w);'), '')), 183 183 array("id" => $id, "class" => $class)
