Hi,

I found a small issue on AS template. When I have a description on a column,
in the list, the column header have a title attribute which show the column
description.
But when the column haven't sort option (virtual columns is a good example),
the AS generate a <p> tag without title attribute.


The issue is on
active_scaffold/frontends/default/views/_list_column_headings.html.erb @ 27:

*<p><%= column.label %></p>*

I think that can be changed to:

*<p class="description" title=<%= column.description.to_json %>><%=
column.label %></p>*


I called to_json but I don't know if have a better form to escape content
for this situation. Can AS developers fix that?


Thank you

-- 
Regards,

Gabriel Sobrinho
E-mail: [email protected]
Phone: +55 31 8775 8378

Don't print this e-mail. The nature is thankful and your money also.

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

Reply via email to