lib/crosstie/templates/simple_form.rb in crosstie-0.0.5 vs lib/crosstie/templates/simple_form.rb in crosstie-0.0.6

- old
+ new

@@ -12,10 +12,10 @@ 'file: :vertical_file_input,' => 'file: :horizontal_file_input,', 'boolean: :vertical_boolean,' => 'boolean: :horizontal_boolean,', }.each do |from, to| - gsub_file "lib/templates/slim/scaffold/_form.html.slim", from, to + gsub_file "config/initializers/simple_form_bootstrap.rb", from, to end #remove_file "lib/templates/slim/scaffold/_form.html.slim" #create_file "lib/templates/slim/scaffold/_form.html.slim", <<-EOF #= simple_form_for(@<%= singular_table_name %>, html: { class: 'form-horizontal' }, wrapper: :horizontal_form, wrapper_mappings: { check_boxes: :horizontal_radio_and_checkboxes, radio_buttons: :horizontal_radio_and_checkboxes, file: :horizontal_file_input, boolean: :horizontal_boolean }) do |f|