scaffold_form_generator 1.1.2 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +2 -0
- data/scaffold_form_generator.rb +1 -1
- metadata +2 -2
data/History.txt
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
==1.1.3 / 2009-04-13
|
2
|
+
* fixed markup bug and changed paragraphs to divs instead so that error messages nest properly without destroying the flow / creating invalid markup.
|
1
3
|
==1.1.2 / 2009-02-13
|
2
4
|
* Changed labels to use the label helper so it's more consistent with Rails 2.2 and higher
|
3
5
|
== 1.1.1 / 2008-06-21
|
data/scaffold_form_generator.rb
CHANGED
@@ -10,7 +10,7 @@ class ScaffoldingSandbox
|
|
10
10
|
end
|
11
11
|
|
12
12
|
def default_input_block
|
13
|
-
Proc.new { |record, column| "<%= f.label :#{column.name} %><br/>\n#{input(record, column.name)}</
|
13
|
+
Proc.new { |record, column| "<div>\n <%= f.label :#{column.name} %><br/>\n #{input(record, column.name)}\n</div>\n" }
|
14
14
|
end
|
15
15
|
|
16
16
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scaffold_form_generator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Hogan
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-04-
|
12
|
+
date: 2009-04-13 00:00:00 -05:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|