foundation_form_builder 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: efd352ed6e1a505f9ec7382a656f247ff24daa18
4
- data.tar.gz: 56f93893fafb8d00e79b0fd62b3765bdb1b204e5
3
+ metadata.gz: 183f304b6211fa12cde89aae0e78b170d490b0df
4
+ data.tar.gz: a2362672bfd036b6f9b3ac9bf3d1b26a54ca6a13
5
5
  SHA512:
6
- metadata.gz: b60fa75fd3eca73bb6d5fe015df1cb8879c51cd2cf0b3f376ec01daed9a97f3c064dcdf8874fb32a41ce97e85c40268c1e9db1795b2e547397804bbb843f6a76
7
- data.tar.gz: 157ced9fdfc084a5aae5578d90685d84a30706f08e3f784113790bc7995a558d3879ee7dd54719070e423008bf533c5be4cc71971cfecfc22df1efb6a46a8780
6
+ metadata.gz: 650775362c18e92f35801166c790ebfa01a67f7a0adb502d77e29b41a7b4f744d4d6ab832fc306929bbbc28f03ce5a30d3d5a496b664222fc52e20e1f25dd7ff
7
+ data.tar.gz: 58d0c7b56ed021e80f07f33c99acfc49003f852e2264051d723c5fbd1ef0e52671526a7681f512229c13aa284fd2db5c34a621ea5fa0db219a51dda65ce67c30
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # FoundationFormBuilder changelog
2
2
 
3
+ # 1.0.1
4
+
5
+ 4 Jun 2015
6
+
7
+ Bring documentation up to date.
8
+
3
9
  # 1.0.0
4
10
 
5
11
  4 Jun 2015
data/README.md CHANGED
@@ -34,11 +34,11 @@ end
34
34
  will create something like
35
35
  ```html
36
36
  <form action='users/1' and='all the other standard Rails attributes :)'>
37
- <div class='email'>
37
+ <div class='email'> <!-- adds class 'error' too if there are validation errors -->
38
38
  <label for='user_email'>Email</label>
39
39
  <input type='email' id='user_email' name='user[email]' />
40
40
  <!-- if there are validation errors, also the following: -->
41
- <div class='error'>can't be blank</div>
41
+ <span class='error'>can't be blank</div>
42
42
  </div>
43
43
  </form>
44
44
  ```
@@ -75,13 +75,13 @@ f.input_div :size, label: 'My size is:', type: :select, values: [['Small', 1], [
75
75
 
76
76
  It renders as:
77
77
  ```html
78
- <div class='size'>
79
- <label for='product_size'>My size is:</label>
78
+ <div class='size'> <!-- and class 'error' if necessary -->
79
+ <label for='product_siz'>My size is:</label>
80
80
  <select name='product[size]' id='product_size'>
81
81
  <option>Choose a size</option>
82
82
  <option value='1'>Small</option>
83
83
  <option value='2'>Large</option>
84
84
  </select>
85
- <!-- error div if necessary, as above -->
85
+ <!-- error span if necessary, as above -->
86
86
  </div>
87
87
  ```
@@ -1,3 +1,3 @@
1
1
  module FoundationFormBuilder
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foundation_form_builder
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marnen Laibow-Koser