I have detected a weird problem between haml and datamapper.
The rendering of a partial _form.html.haml renders nothing.
No errors, but no output.
The same haml templates work well when used with ActiveRecord, so it's
not a haml problem.
Also everyting works when I mix all haml templates and partials
(except this one, the one with the form_for helper) with a template
for this partial translated to erb.
The problem is with the form, other parts in the template work well.
- form_for @whatever do |f|
.field
= f.label :foo
= f.text_field :foo
= f.submit
This fails
Does anybody know about a workaround?
Thanks
Juan M. Cervera
--
You received this message because you are subscribed to the Google Groups
"DataMapper" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/datamapper?hl=en.