flexa_lib 0.2.1 → 0.2.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.
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.1'
10
+ s.version = '0.2.2'
11
11
  s.platform = Gem::Platform::RUBY
12
12
 
13
13
  s.authors = ['Allan Freitas','Marcio Sfalsin']
@@ -59,6 +59,20 @@ module FlexaLib
59
59
  block.call
60
60
  end
61
61
  end
62
+
63
+ # flexa_form_horizontal
64
+ #
65
+ # vai gerar uma DIV para aplicar FLOAT:LEFT nos inputs do formulário
66
+ # <%=flexa_form_horizontal do%>
67
+ # conteudo vai aqui
68
+ # <%end%>
69
+ #
70
+ def flexa_form_horizontal(&block)
71
+ content_tag :div, :class=>"form_horizontal" do
72
+ block.call
73
+ end
74
+ end
75
+
62
76
 
63
77
  def flexa_boolean_grid(status)
64
78
  if status
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: 21
4
+ hash: 19
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 1
10
- version: 0.2.1
9
+ - 2
10
+ version: 0.2.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Allan Freitas