There are two problems here:

1) you can't use extend-tag on view pages, just on included files. Until we fix that limitation you can workaround it by putting the extend in an adjacent file, and including that from show.dryml.

2) you'll get the "mixed content and parameter tags" error. That can be worked around with the other form of if

<append-content: if="@current_user.admin?">

I think that'll work, I haven't tried it.

the other option is to make use of the "replace/restore" pseudo-parameters: http://cookbook.hobocentral.net/manual/dryml-guide#wrapping_content

Bryan

--
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