It looks like you have a lot of tabulation on the first line. With
Haml, you don't need to (and, in fact, *shouldn't*) do this. The
partial will be automatically correctly indented and located within
the Haml file.
- Nathan
On Feb 22, 12:34 pm, "Rich" <[EMAIL PROTECTED]> wrote:
> I have a partial:
>
> # _status_item.haml
>
> 1 = text_field_tag "status[#{status_item.id}]",
> status_item.status
> 2 %br/
>
> That's it. Really simple. But on line 1 I get the following error:
>
> (eval):12: parse error, unexpected kEND, expecting $
>
> Anyone seen this before? Am I missing some convention?
>
> Thanks any tips!
>
> Rich
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Haml" 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/haml?hl=en
-~----------~----~----~----~------~----~------~--~---