You should fix this string (9 line in _list_actions.html.erb) and add
.html_safe to the false part.
<%= record.authorized_for?(:crud_type => link.crud_type, :action =>
link.action) ? render_action_link(link, url_options, record) : "<a
class='disabled #{link.action}'>#{link.label}</a>" -%>
like this:
<%= record.authorized_for?(:crud_type => link.crud_type, :action =>
link.action) ? render_action_link(link, url_options, record) : "<a
class='disabled #{link.action}'>#{link.label}</a>".html_safe -%>
because thouse people who uses rails_xss plugin are getting escaped
html in this case.
--
You received this message because you are subscribed to the Google Groups
"ActiveScaffold : Ruby on Rails plugin" 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/activescaffold?hl=en.