Sorry my mistake - was targeting the wrong tag.

<extend tag="flash-message">
  <old-flash-message class="bar" merge-attrs/>
</extend>


On May 4, 4:52 pm, atmorell <[email protected]> wrote:
> Hi,
>
> This might be really simple, but I can't figuere out how to extend the
> <flash-mesages/> tag and add a class or id.
>
> Application.dryml
> <extend tag="flash-messages">
>  <old-flash-messages class="someclass"/>
> </extend>
>
> Any ideas why this won't work? Is it possible to change the for for
> good? (whole app and ajax calls)
>
> Hobo Source API:http://cookbook.hobocentral.net/api_tag_defs/flash-messages
> <def attrs='names' tag='flash-messages'><%=
>   scope.flash_rendered = true
>   names = names.nil? ? flash.keys : comma_split(names)
>   names.map { |name| flash_message :type => name }.join
> %></def>
>
> Best regards.
> Asbjørn Morell.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Hobo Users" 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 
> athttp://groups.google.com/group/hobousers?hl=en.

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" 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/hobousers?hl=en.

Reply via email to