control_group 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +27 -0
- data/lib/control_group/railtie.rb +1 -1
- data/lib/control_group/version.rb +1 -1
- data/lib/control_group.rb +1 -4
- metadata +2 -1
data/README.rdoc
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
== Control Group
|
2
|
+
Gem adds a method that creates the structure of the elements for
|
3
|
+
each field that is displayed correctly when using Bootstrap.
|
4
|
+
|
5
|
+
== Installation
|
6
|
+
To install use:
|
7
|
+
|
8
|
+
gem install control_group
|
9
|
+
|
10
|
+
== Usage
|
11
|
+
|
12
|
+
<%= control_group f, :field_name, :field_type, {<field_options_hash>}%>
|
13
|
+
|
14
|
+
== Example
|
15
|
+
|
16
|
+
<%= form_for "feedback", :html => { :class => "form-horizontal" } do |f| %>
|
17
|
+
<%= control_group f, :email, :text_field %>
|
18
|
+
<%= control_group f, :name, :text_field %>
|
19
|
+
<%= control_group f, :message, :text_area %>
|
20
|
+
|
21
|
+
== Authors
|
22
|
+
|
23
|
+
MyStand Company
|
24
|
+
|
25
|
+
http://mystand.ru
|
26
|
+
|
27
|
+
|
data/lib/control_group.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: control_group
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -20,6 +20,7 @@ extra_rdoc_files: []
|
|
20
20
|
files:
|
21
21
|
- .gitignore
|
22
22
|
- Gemfile
|
23
|
+
- README.rdoc
|
23
24
|
- Rakefile
|
24
25
|
- control_group.gemspec
|
25
26
|
- lib/control_group.rb
|