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: cbdf79b579803ea0f7c6e9c53ebeac00c918ac3c
4
- data.tar.gz: 391ab911f9a6f3cd3469376c4da29615c8092596
3
+ metadata.gz: 1b57f721a32970d2857ee0f20b9294211b98d2bc
4
+ data.tar.gz: 6cda225fddf741ba80b00f4bd73e3fb48acdde4d
5
5
  SHA512:
6
- metadata.gz: 03ab1a7fc7568e23b34a9a9019fc7ea1ac2b065a389a7e3dcb8f87afa16c05f754f490bde567f59a781cb904eef6cbc5243f7f8302e8d0f4cc8993a87a6b5972
7
- data.tar.gz: edb6f3c3c52b2cd5fed50a31c0f6d9cfd0dd60146b287a6f9a21f812622210f0094f2ec86dcbabcdc405b76216b087facc3b4caa23bb92e0bac92865960b3ca6
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
@@ -1,3 +1,3 @@
1
1
  module BootstrapFormBuilder
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  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.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-10 00:00:00.000000000 Z
11
+ date: 2014-11-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionview