flexa_lib 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.
data/flexa_lib.gemspec CHANGED
@@ -7,7 +7,7 @@ require 'flexa_lib/version'
7
7
  Gem::Specification.new do |s|
8
8
  s.name = 'flexa_lib'
9
9
  # s.version = FlexaLib::VERSION
10
- s.version = '0.2.0'
10
+ s.version = '0.2.1'
11
11
  s.platform = Gem::Platform::RUBY
12
12
 
13
13
  s.authors = ['Allan Freitas','Marcio Sfalsin']
@@ -59,6 +59,15 @@ module FlexaLib
59
59
  block.call
60
60
  end
61
61
  end
62
+
63
+ def flexa_boolean_grid(status)
64
+ if status
65
+ imagem = 'icon_sucess.gif'
66
+ else
67
+ imagem = 'icon_error.gif'
68
+ end
69
+ image_tag(imagem)
70
+ end
62
71
 
63
72
 
64
73
  end
@@ -7,7 +7,7 @@ module FlexaFormtasticBootstrap
7
7
 
8
8
  #options[:boolean][:class] = 'checkbox'
9
9
 
10
- #label_html_options
10
+ #label_html_options.merge()
11
11
 
12
12
  clearfix_div_wrapping do
13
13
  #empty_label <<
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flexa_lib
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 0
10
- version: 0.2.0
9
+ - 1
10
+ version: 0.2.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Allan Freitas
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2012-03-16 00:00:00 Z
19
+ date: 2012-03-20 00:00:00 Z
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
22
  name: formtastic