Add pill to template