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: ea420cd6b0891640fc03488855f707ec98275136
4
- data.tar.gz: db4e4cdf576f967aba76f251287556022a02c110
3
+ metadata.gz: a61bc88a94679c585d9900afda473bc851be42cd
4
+ data.tar.gz: 87644bfe304d117215ab53a24d0efe66eb7c85dc
5
5
  SHA512:
6
- metadata.gz: 6a7463200f865cc7303190af9284d681fe7313c27fff137a9d590ac5738925996ebeaa686d21377092a832053f29d4852490d8b910541eb3960b2c4f13df2989
7
- data.tar.gz: 272f4e3f533f3f60dea356dedfdfabe09ae1ef82d9613deefaf33ae7529025bb9f7298943c2310ce7b141b13695e2a05bb80c15970730369487fa488d157de03
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 => 'col-sm-7')
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 => 'col-sm-3 control-label'))
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 => 'col-sm-offset-3 col-sm-7'),
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 => 'col-sm-offset-3 col-sm-7'),
137
+ :class => 'button-group'),
138
138
  :class => 'form-group')
139
139
  end
140
140
  end
@@ -1,3 +1,3 @@
1
1
  module BootstrapFormBuilder
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
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.0.2
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-12 00:00:00.000000000 Z
11
+ date: 2014-09-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionview