Modifying template to display Actions appropriately