Make template to div