Templates connected to controller