Permalink
Browse files

Remove custom_inline_order configuration and mention in initializer t…

…emplate since its no longer used
  • Loading branch information...
1 parent 4b9eb5c commit 8a42f1ab2d39c48519c6ba93743e3175cd709197 @manuelmeurer manuelmeurer committed Apr 17, 2012
Showing with 0 additions and 7 deletions.
  1. +0 −1 lib/formtastic/form_builder.rb
  2. +0 −6 lib/generators/templates/formtastic.rb
@@ -18,7 +18,6 @@ def self.configure(name, value = nil)
configure :label_str_method, :humanize
configure :collection_label_methods, %w[to_label display_name full_name name title username login value to_s]
configure :collection_value_methods, %w[id to_s]
- configure :custom_inline_order, {}
configure :file_methods, [ :file?, :public_filename, :filename ]
configure :file_metadata_suffixes, ['content_type', 'file_name', 'file_size']
configure :priority_countries, ["Australia", "Canada", "United Kingdom", "United States"]
@@ -49,12 +49,6 @@
# Formtastic::FormBuilder.collection_label_methods = [
# "to_label", "display_name", "full_name", "name", "title", "username", "login", "value", "to_s"]
-# Additionally, you can customize the order for specific types of inputs.
-# This is configured on a type basis and if a type is not found it will
-# fall back to the default order as defined by #inline_order
-# Formtastic::FormBuilder.custom_inline_order[:checkbox] = [:errors, :hints, :input]
-# Formtastic::FormBuilder.custom_inline_order[:select] = [:hints, :input, :errors]
-
# Specifies if labels/hints for input fields automatically be looked up using I18n.
# Default value: true. Overridden for specific fields by setting value to true,
# i.e. :label => true, or :hint => true (or opposite depending on initialized value)

0 comments on commit 8a42f1a

Please sign in to comment.