bootstrap3_form_builder 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7f314a215a90df89a00948410410648f0d0b3467
|
4
|
+
data.tar.gz: d30778c032027a85875e5d50e2458a6403624161
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0025f6a2616e2d017150118a87f1024fcf9fef86872335521109a458cf545ac1e7f8861fb7a147be40d9416325081dc5a6cacb51cde1ebebba8ac9e05e3aa53a
|
7
|
+
data.tar.gz: b243871494777ac63acc01e7c21c074cf8a3af68e5c13e55f17438d9357f66c15f8b6901ab4fc8a8bc6aac661a6329b0d54f393f77896c8d7323f6e198fb0340
|
@@ -53,6 +53,13 @@ Generates form fields that work with Twitter Bootstrap 3.
|
|
53
53
|
(options[:help_block] ? @template.content_tag("p", options[:help_block], :class => "help-block") : "" ) +
|
54
54
|
(options[:help_inline] ? @template.content_tag("span", options[:help_inline], :class => "help-inline") : "" )
|
55
55
|
|
56
|
+
if method_name == "check_box"
|
57
|
+
return @template.content_tag("div",
|
58
|
+
@template.content_tag("label",
|
59
|
+
input.html_safe),
|
60
|
+
:class => "checkbox")
|
61
|
+
end
|
62
|
+
|
56
63
|
@template.content_tag("div",
|
57
64
|
@template.content_tag("label",
|
58
65
|
custom_label,
|