How do you handle partials which have differences depending on the action which is rendering them? Here’s three suggestions for this problem.

Read more at the source