bs_form_builder 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a61bc88a94679c585d9900afda473bc851be42cd
|
|
4
|
+
data.tar.gz: 87644bfe304d117215ab53a24d0efe66eb7c85dc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 28d0ef69a740186e3281b37dec4bcc59eff23ce1ef4241d0d7f0a62aced1d513f6f7c3ed6890c77caf47ebbd710c4c07ba326c7d5612156b12ab8a91a46e4b42
|
|
7
|
+
data.tar.gz: 828b311a1bb742d50ef116e16d6373313bec600ce988e9bab20be9ffe9004121839e1b0fd2a280e4ab491e87907821036cf6da421447fd110826380bdd1d5509
|
|
@@ -88,11 +88,11 @@ class BootstrapFormBuilder::HorizontalFormBuilder < ActionView::Helpers::FormBui
|
|
|
88
88
|
end
|
|
89
89
|
|
|
90
90
|
def col_wrap(html)
|
|
91
|
-
@template.content_tag(:div, html, :class => '
|
|
91
|
+
@template.content_tag(:div, html, :class => 'field')
|
|
92
92
|
end
|
|
93
93
|
|
|
94
94
|
def label(name, opts = {})
|
|
95
|
-
super(name, opts.reverse_merge(:class => '
|
|
95
|
+
super(name, opts.reverse_merge(:class => 'control-label'))
|
|
96
96
|
end
|
|
97
97
|
|
|
98
98
|
def errors(name)
|
|
@@ -124,7 +124,7 @@ class BootstrapFormBuilder::HorizontalFormBuilder < ActionView::Helpers::FormBui
|
|
|
124
124
|
@template.
|
|
125
125
|
content_tag(:div,
|
|
126
126
|
submit(label, :class => 'btn btn-primary'),
|
|
127
|
-
:class => '
|
|
127
|
+
:class => 'button-group'),
|
|
128
128
|
:class => 'form-group')
|
|
129
129
|
end
|
|
130
130
|
|
|
@@ -134,7 +134,7 @@ class BootstrapFormBuilder::HorizontalFormBuilder < ActionView::Helpers::FormBui
|
|
|
134
134
|
content_tag(:div,
|
|
135
135
|
submit(:class => 'btn btn-primary') +
|
|
136
136
|
" " + cancel_button(cancel_path),
|
|
137
|
-
:class => '
|
|
137
|
+
:class => 'button-group'),
|
|
138
138
|
:class => 'form-group')
|
|
139
139
|
end
|
|
140
140
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bs_form_builder
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sean Geoghegan
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-09-
|
|
11
|
+
date: 2014-09-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: actionview
|