Accordion action on templates