bs_form_builder 0.1.1 → 0.1.2
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: 1b57f721a32970d2857ee0f20b9294211b98d2bc
|
|
4
|
+
data.tar.gz: 6cda225fddf741ba80b00f4bd73e3fb48acdde4d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4af28f2e78cd94d433fdd3b10eb7fdccab75a03d8c2ac0fe03ec28444304d2f6dafee8722b2342660df261f3af0407efbe2f755eb91a6127e73e720050f298ba
|
|
7
|
+
data.tar.gz: 8c98887f648a13780ce24226e25c1ea3c2efa78dbc49d92d2d5f860ee3d5c95db6444142a02bdda364af82146c13dd1d98e37b18723074dde1a64a0775054286
|
|
@@ -186,11 +186,11 @@ class BootstrapFormBuilder::HorizontalFormBuilder < ActionView::Helpers::FormBui
|
|
|
186
186
|
:class => 'btn btn-default')
|
|
187
187
|
end
|
|
188
188
|
|
|
189
|
-
def submit_button(label = "")
|
|
189
|
+
def submit_button(label = "", opts = {})
|
|
190
190
|
@template.content_tag(:div,
|
|
191
191
|
@template.
|
|
192
192
|
content_tag(:div,
|
|
193
|
-
submit(label, :class => 'btn btn-primary'),
|
|
193
|
+
submit(label, opts.merge(:class => 'btn btn-primary')),
|
|
194
194
|
:class => 'button-group'),
|
|
195
195
|
:class => 'form-group')
|
|
196
196
|
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.1.
|
|
4
|
+
version: 0.1.2
|
|
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-11-
|
|
11
|
+
date: 2014-11-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: actionview
|