app/helpers/manage/form_helper.rb in manage-1.3.29 vs app/helpers/manage/form_helper.rb in manage-1.3.30
- old
+ new
@@ -1,21 +1,21 @@
-module Manage
-
- module FormHelper
- include SimpleForm::ActionViewExtensions::FormHelper
-
- OPTIONS = {
- wrapper: :foundation,
- class: 'custom'
- }
-
- def manage_form_for(record, options={}, &block)
- simple_form_for(record, options.merge(Manage::FormHelper::OPTIONS), &block)
- end
-
- def manage_fields_for(record_name, record_object = nil, options = {}, &block)
- simple_fields_for(record_name, record_object = nil, options.merge(Manage::FormHelper::OPTIONS), &block)
- end
-
- end
-
-end
+module Manage
+
+ module FormHelper
+ include SimpleForm::ActionViewExtensions::FormHelper
+
+ OPTIONS = {
+ wrapper: :foundation,
+ class: 'custom'
+ }
+
+ def manage_form_for(record, options={}, &block)
+ simple_form_for(record, options.merge(Manage::FormHelper::OPTIONS), &block)
+ end
+
+ def manage_fields_for(record_name, record_object = nil, options = {}, &block)
+ simple_fields_for(record_name, record_object = nil, options.merge(Manage::FormHelper::OPTIONS), &block)
+ end
+
+ end
+
+end