Sunday, February 6, 2011

[Rails] Re: Dynamic Css from database

Garrett Lancaster wrote in post #979922:
> not sure I would go about it this way. You could just dynamically apply
> a class in the view based on a single db value.
>
> Garrett Lancaster

You are so right. I think I will just create the different css and html
for each template. Easier and I won't have that many templates.

Thank you for your suggestion.

Mitch

--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate