Template buttom allignment