merb-haml 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
data/lib/generators/templates/resource_controller/datamapper/app/views/%file_name%/edit.html.haml
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
Edit this file in
|
5
5
|
%tt
|
6
6
|
app/views/<%= file_name %>/edit.html.erb
|
7
|
-
= error_messages_for
|
7
|
+
= error_messages_for @<%= singular_model %>
|
8
8
|
|
9
9
|
= form_for(@<%= singular_model %>, :action => url(:<%= singular_model %>, @<%= singular_model %>)) do
|
10
10
|
<% for property in properties.select{|p| !p.key?} -%>
|
data/lib/generators/templates/resource_controller/datamapper/app/views/%file_name%/new.html.haml
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
Edit this file in
|
5
5
|
%tt app/views/<%= file_name %>/new.html.erb
|
6
6
|
|
7
|
-
= error_messages_for
|
7
|
+
= error_messages_for @<%= singular_model %>
|
8
8
|
|
9
9
|
= form_for(@<%= singular_model %>, :action => url(:<%= plural_model %>) ) do
|
10
10
|
<% for property in properties.select{|p| !p.key?} -%>
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: merb-haml
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yehuda Katz
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-11-
|
12
|
+
date: 2008-11-25 00:00:00 -08:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -20,7 +20,7 @@ dependencies:
|
|
20
20
|
requirements:
|
21
21
|
- - "="
|
22
22
|
- !ruby/object:Gem::Version
|
23
|
-
version: 1.0.
|
23
|
+
version: 1.0.3
|
24
24
|
version:
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: haml
|