set template with container class