It works, you need to wrap the input tag inside the label and have to add this class to label tag like below
label class="checkbox checkbox-square
input type="checkbox"
label
I have removed the '<' & '>' tags from above code since it was not showing anything when I was adding this.
I am new to this community so I don't know much about adding comment, sorry for any mistakes.
Thank you.