How do you specify a class for link_to links

2007-12-20 Thread programmer.py

Hi all.  I need to be able to set a style for the link I'm generating.

I use link_to to generate links.  But, you can not use class as a
keyword argument :/, so I can't set a style for the generated link.

Is there a way to do this that I'm overlooking?

Thanks!
jw
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
pylons-discuss group.
To post to this group, send email to pylons-discuss@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~--~~~~--~~--~--~---



Re: How do you specify a class for link_to links

2007-12-20 Thread Philip Jenvey


On Dec 20, 2007, at 8:51 AM, programmer.py wrote:


 Hi all.  I need to be able to set a style for the link I'm generating.

 I use link_to to generate links.  But, you can not use class as a
 keyword argument :/, so I can't set a style for the generated link.

 Is there a way to do this that I'm overlooking?

This is covered in the FAQ:

http://wiki.pylonshq.com/pages/viewpage.action?pageId=9011474

--
Philip Jenvey



--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
pylons-discuss group.
To post to this group, send email to pylons-discuss@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~--~~~~--~~--~--~---



Re: How do you specify a class for link_to links

2007-12-20 Thread programmer.py

Thanks!  In the faq, err how embarrasing I didn't look there first :/.

jw

On Dec 20, 11:17 am, Philip Jenvey [EMAIL PROTECTED] wrote:
 On Dec 20, 2007, at 8:51 AM, programmer.py wrote:



  Hi all.  I need to be able to set a style for the link I'm generating.

  I use link_to to generate links.  But, you can not use class as a
  keyword argument :/, so I can't set a style for the generated link.

  Is there a way to do this that I'm overlooking?

 This is covered in the FAQ:

 http://wiki.pylonshq.com/pages/viewpage.action?pageId=9011474

 --
 Philip Jenvey
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
pylons-discuss group.
To post to this group, send email to pylons-discuss@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~--~~~~--~~--~--~---