Ok. I'll investigate and keep you updated. On Dec 14, 6:56 am, Nathan Weizenbaum <[email protected]> wrote: > There is currently no way to do this using haml_tag. I'd certainly accept a > patch, but I don't think making adding an option is the right way to go, > since it could potentially conflict with an attribute name. Maybe just > haml_tag :div, @comment? > > > > > > > > On Mon, Dec 13, 2010 at 6:12 AM, seb <[email protected]> wrote: > > Hi, > > > couldn't find a haml_tag equivalent for > > %d...@comment] > > => <div class="comment" id="comment_12"> > > > If something like > > haml_tag :div, :for => @comment > > is desired I would implement it. > > > Naming suggestions for the option: > > :for :object, :dom_object, :model > > any other suggestions? > > > Regards, > > Seb > > > -- > > 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] <haml%[email protected]>. > > 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 [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.
