Skip to content
This repository
Browse code

Updating README to include a note about configuring inline errors

Signed-off-by: Justin French <justin@indent.com.au>
  • Loading branch information...
commit 5d072fa785fcb064292fa3425294504a74162a29 1 parent e3f6129
Andy Pearson andypearson authored committed

Showing 1 changed file with 3 additions and 0 deletions. Show diff stats Hide diff stats

  1. +3 0  README.textile
3  README.textile
Source Rendered
@@ -92,6 +92,9 @@ If you wish, put something like this in config/initializers/formtastic_config.rb
92 92 JustinFrench::Formtastic::SemanticFormBuilder.all_fields_required_by_default = false
93 93 JustinFrench::Formtastic::SemanticFormBuilder.required_string = "(required)"
94 94 JustinFrench::Formtastic::SemanticFormBuilder.optional_string = "(optional)"
  95 +
  96 + # Set the way inline errors will be displayed. Valid options are :sentence, :list and :none
  97 + JustinFrench::Formtastic::SemanticFormBuilder.inline_errors = :sentence
95 98 </pre>
96 99
97 100

0 comments on commit 5d072fa

Please sign in to comment.
Something went wrong with that request. Please try again.