aboutsummaryrefslogtreecommitdiffstats
path: root/app/inputs
diff options
context:
space:
mode:
authorAlban Peignier2015-05-22 09:56:11 +0200
committerAlban Peignier2015-05-22 09:56:11 +0200
commit51f9a0871396e0a2177db86e049399e3d0e92cae (patch)
tree7b835525ce49574915630190e7f97e9bc5a8d5df /app/inputs
parentcf631225e96227395cc0f852e73ad83bc7aaf06b (diff)
downloadchouette-core-51f9a0871396e0a2177db86e049399e3d0e92cae.tar.bz2
Revert "Add customized Formtastic BooleanInput to align label like other inputs"
This reverts commit 8dc301b503ae261c788f6d0109ed54fc3b71dc58.
Diffstat (limited to 'app/inputs')
-rw-r--r--app/inputs/boolean_input.rb9
1 files changed, 0 insertions, 9 deletions
diff --git a/app/inputs/boolean_input.rb b/app/inputs/boolean_input.rb
deleted file mode 100644
index a2b9b92ca..000000000
--- a/app/inputs/boolean_input.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-class BooleanInput < Formtastic::Inputs::BooleanInput
- def label_with_nested_checkbox
- builder.label(
- method,
- label_text,
- label_html_options.merge(class: "label")
- ) << "" << check_box_html
- end
-end