Permalink
Browse files

Updating README to include a note about configuring inline errors

Signed-off-by: Justin French <justin@indent.com.au>
  • Loading branch information...
1 parent e3f6129 commit 5d072fa785fcb064292fa3425294504a74162a29 @andypearson andypearson committed with Jan 24, 2009
Showing with 3 additions and 0 deletions.
  1. +3 −0 README.textile
View
@@ -92,6 +92,9 @@ If you wish, put something like this in config/initializers/formtastic_config.rb
JustinFrench::Formtastic::SemanticFormBuilder.all_fields_required_by_default = false
JustinFrench::Formtastic::SemanticFormBuilder.required_string = "(required)"
JustinFrench::Formtastic::SemanticFormBuilder.optional_string = "(optional)"
+
+ # Set the way inline errors will be displayed. Valid options are :sentence, :list and :none
+ JustinFrench::Formtastic::SemanticFormBuilder.inline_errors = :sentence
</pre>

0 comments on commit 5d072fa

Please sign in to comment.