An IFRAME should let you "include" a Haml file so long as the URL you give
to the IFRAME is to that other Haml file...

But you can certainly include a Haml file in another. In the main Haml file
just use the = (equals) to insert the text of the other file. If you are
using Rails then you're just rendering another template into your current
one:

    = render :partial => 'your_other_haml_template_here'

-- Amy



On Wed, Jan 27, 2010 at 11:55 PM, s...@khi <arpitsa...@gmail.com> wrote:

> sorry for typo-
> But it does *not seem to be working.
>
> On Jan 28, 12:49 pm, "s...@khi" <arpitsa...@gmail.com> wrote:
> > I want to include a haml file into another haml file.
> > I tried to use %IFRAME. But it does seem to be working. IFRAME allows
> > me to include html but not the haml.
> > Is there any way to embed a haml file into another haml? Thanks in
> > advance!
>
> --
> You received this message because you are subscribed to the Google Groups
> "Haml" group.
> To post to this group, send email to h...@googlegroups.com.
> To unsubscribe from this group, send email to
> haml+unsubscr...@googlegroups.com <haml%2bunsubscr...@googlegroups.com>.
> For more options, visit this group at
> http://groups.google.com/group/haml?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Haml" group.
To post to this group, send email to h...@googlegroups.com.
To unsubscribe from this group, send email to haml+unsubscr...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/haml?hl=en.

Reply via email to