On Sun, Oct 25, 2015 at 7:10 PM, Colin Law <clanlaw@gmail.com> wrote:
> The usual way to do this would be by rendering partials. You can
> render different partials dependent on the context. Alternatively,
> instead of rendering the scaffolds as partials from the dashboard,
> render the dashboard as partials from the scaffold. Often this is the
> simpler approach.
Rendering dashboard partial sounds good. But I leads to huge amount of
CSS code and hard coding.
--
Cheers!
Deepak Kumar Sharma
Guru Nanak Dev Engineering College
India!
Blog: http://deekysharma.wordpress.com
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CALDHwN6cCzgQ5bDsNWg-5d42ef93Vvn1rbw%3D_JYNKzkiQXEZhg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment