Below is the code. how to write nested if else statement on django template?
{%ifequal ser_id 3%}
<label for="inputMobile" id="field-label" class="col-lg-3 col-md-3 col-sm-3 col-xs-3 control-label">Subscriber Id:</label>
{%else ifequal ser_id 5%}
<label for="inputMobile" id="field-label" class="col-lg-3 col-md-3 col-sm-3 col-xs-3 control-label">Phone No:</label>
{%else%}
<label for="inputMobile" id="field-label" class="col-lg-3 col-md-3 col-sm-3 col-xs-3 control-label">Mobile No:</label>
{%endif%}
{%endifequal%}