Thanks Kenny.

I looked for better solution here and I found one. If you move the title
attribute to <th> instead of <a> and <p> this will work for both situations.


Thanks again

2009/7/12 <[email protected]>

> I'll fix this tomorrow if sergio hasn't gotten to it yet. If I don't reply
> by tuesday saying it's fixed shoot another email to remind me.
>
> Sent from my Verizon Wireless BlackBerry
>
> ------------------------------
> *From*: "G. Sobrinho"
> *Date*: Sun, 12 Jul 2009 18:56:43 -0300
> *To*: activescaffold<[email protected]>
> *Subject*: Missing description (title attribute) on table header when
> haven't sort option
> 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.
>
>
>
> >
>


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