Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
whitespace issue with if and html nesting #497
I have the following problem, I am trying to some error catching and showing for a form i am building as follows:
So basically, I want to nest the label test and the input following that inside .control-group (based on the if statement). Is there any way of doing this simply? Since if i indent as follows:
It would just include the label and input as part of second else.
Any help on this matter would be appreciated :)