From 5a75553214f6f11dd71dfad8f0f99006a8383c6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Mendon=C3=A7a=20Fran=C3=A7a?= Date: Mon, 7 Jul 2014 21:36:07 -0300 Subject: [PATCH] Realign --- lib/simple_form/form_builder.rb | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/lib/simple_form/form_builder.rb b/lib/simple_form/form_builder.rb index a05072f22..64a4afe87 100644 --- a/lib/simple_form/form_builder.rb +++ b/lib/simple_form/form_builder.rb @@ -17,19 +17,19 @@ class FormBuilder < ActionView::Helpers::FormBuilder extend MapType include SimpleForm::Inputs - map_type :text, to: SimpleForm::Inputs::TextInput - map_type :file, to: SimpleForm::Inputs::FileInput + map_type :text, to: SimpleForm::Inputs::TextInput + map_type :file, to: SimpleForm::Inputs::FileInput map_type :string, :email, :search, :tel, :url, :uuid, to: SimpleForm::Inputs::StringInput - map_type :password, to: SimpleForm::Inputs::PasswordInput - map_type :integer, :decimal, :float, to: SimpleForm::Inputs::NumericInput - map_type :range, to: SimpleForm::Inputs::RangeInput - map_type :check_boxes, to: SimpleForm::Inputs::CollectionCheckBoxesInput - map_type :radio_buttons, to: SimpleForm::Inputs::CollectionRadioButtonsInput - map_type :select, to: SimpleForm::Inputs::CollectionSelectInput - map_type :grouped_select, to: SimpleForm::Inputs::GroupedCollectionSelectInput - map_type :date, :time, :datetime, to: SimpleForm::Inputs::DateTimeInput - map_type :country, :time_zone, to: SimpleForm::Inputs::PriorityInput - map_type :boolean, to: SimpleForm::Inputs::BooleanInput + map_type :password, to: SimpleForm::Inputs::PasswordInput + map_type :integer, :decimal, :float, to: SimpleForm::Inputs::NumericInput + map_type :range, to: SimpleForm::Inputs::RangeInput + map_type :check_boxes, to: SimpleForm::Inputs::CollectionCheckBoxesInput + map_type :radio_buttons, to: SimpleForm::Inputs::CollectionRadioButtonsInput + map_type :select, to: SimpleForm::Inputs::CollectionSelectInput + map_type :grouped_select, to: SimpleForm::Inputs::GroupedCollectionSelectInput + map_type :date, :time, :datetime, to: SimpleForm::Inputs::DateTimeInput + map_type :country, :time_zone, to: SimpleForm::Inputs::PriorityInput + map_type :boolean, to: SimpleForm::Inputs::BooleanInput def self.discovery_cache @discovery_cache ||= {}