Generalize actions rendering to allow for wider use of this partial