simple_form_bootstrap3 0.2.0 → 0.2.1

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: 61b06399de22ad4d50ed682a2a013794cb6eaa9a
4
- data.tar.gz: 7dbf699f924c5fa7e48c95ec9f41f404a3628bea
3
+ metadata.gz: 621e6444420263642de29dae73ee173c8ceb736c
4
+ data.tar.gz: 93d9244aeeba074f04892e0547fbd3172eee8048
5
5
  SHA512:
6
- metadata.gz: ca6754dc2d246eef08f4e83dfa31532b0b8aea679cb69e705e820e03c870ee6c7c74a5caf8f7439091272f7120d1306f894ef59bfe2d35d18070d497e3faaa54
7
- data.tar.gz: b1828714d89618f3f2550525036b3566a661d4399b0dd2636a2ef7d10203fef40156e903966f681c38d900fc100116dee9a79ec51a530b54d07a7ca0408cfb55
6
+ metadata.gz: 66fea20c4d5593960bd380eedbb95171a20c0c75d31597b5e7bdbb76a888bd5a4ffecf5d61e06efdb29cb841e4764beb3a77358c83ab6302571269423d60fc23
7
+ data.tar.gz: 43deb6c0ed3b4e924a9c93fb44a46f239085cd04406ede951bad5abbce838a22a84f435ea5dc36b596b1110a8d781e98026e6c90ce4cb82cf79c898c0594be6e
@@ -1,6 +1,6 @@
1
1
  SimpleForm.setup do |config|
2
2
  config.wrappers :horizontal, tag: :div, class: 'form-group', error_class: 'has-error',
3
- label_html: { class: 'col-sm-2 control-label' } do |b|
3
+ label_html: { class: 'col-sm-3 col-md-3 col-lg-2 control-label' } do |b|
4
4
  b.use :html5
5
5
  b.use :min_max
6
6
  b.use :maxlength
@@ -10,7 +10,7 @@ SimpleForm.setup do |config|
10
10
  b.optional :readonly
11
11
 
12
12
  b.use :label
13
- b.wrapper tag: :div, class: 'col-sm-10' do |i|
13
+ b.wrapper tag: :div, class: 'col-sm-9 col-md-9 col-lg-10' do |i|
14
14
  i.use :input
15
15
  i.use :error, wrap_with: { tag: :span, class: 'help-block' }
16
16
  i.use :hint, wrap_with: { tag: :p, class: 'help-block' }
@@ -21,7 +21,7 @@ SimpleForm.setup do |config|
21
21
  b.use :html5
22
22
  b.optional :readonly
23
23
 
24
- b.wrapper tag: :div, class: 'col-sm-offset-2 col-sm-10' do |i|
24
+ b.wrapper tag: :div, class: 'col-sm-offset-3 col-sm-9 col-md-offset-3 col-md-9 col-lg-offset-2 col-lg-10' do |i|
25
25
  i.wrapper tag: :div, class: 'checkbox' do |c|
26
26
  c.wrapper tag: :label do |a|
27
27
  a.use :input
@@ -37,7 +37,7 @@ SimpleForm.setup do |config|
37
37
  b.use :html5
38
38
  b.optional :readonly
39
39
 
40
- b.wrapper tag: :div, class: 'col-sm-offset-2 col-sm-10' do |i|
40
+ b.wrapper tag: :div, class: 'col-sm-offset-3 col-sm-9 col-md-offset-3 col-md-9 col-lg-offset-2 col-lg-10' do |i|
41
41
  i.wrapper tag: :div, class: 'radio' do |c|
42
42
  c.wrapper tag: :label do |a|
43
43
  a.use :input
@@ -12,7 +12,7 @@ module SimpleForm
12
12
 
13
13
  def buttons(options = {}, &block)
14
14
  raise ::ArgumentError unless block_given?
15
- options[:class] ||= 'col-sm-offset-2 col-sm-10'
15
+ options[:class] ||= 'col-sm-offset-3 col-sm-9 col-md-offset-3 col-md-9 col-lg-offset-2 col-lg-10'
16
16
  @template.content_tag(:div, class: 'form-group') do
17
17
  @template.content_tag(:div, class: options[:class]) do
18
18
  yield
@@ -1,3 +1,3 @@
1
1
  module SimpleFormBootstrap3
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple_form_bootstrap3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yuriy Kolodovskyy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-24 00:00:00.000000000 Z
11
+ date: 2014-03-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bootstrap-sass