Print format template syntax error

Hi guys i am using the templating tags in my html file for the print format but i am getting the following error…can some please help me out.
File “”, line 15, in template
TemplateSyntaxError: tag name expected.

HERE IS THE HTML CODE

</p>
<p style="margin-bottom: 30px;">
    <h3 class="text-center">MINISTRY OF #####################</h3>
    <H4 class="text-center">##################### DEPARTMENT 
     THE OFFICER ADMINISTERING THE FUND</H4>
</p>
<p></p><br/>
<p><h5 class="text-left">LOAN REPAYMENT IN FULL</h5></p><br/>
<p><h5 class="text-left">LOAN No. {%= loan_number %}</h5></p>
<p><h5 class="text-left">LOAN/PLOT No. {%= settler_plot_number %}</h5></p>
<p><h5 class="text-left">SCHEME NAME {% settler_scheme_name %}</h5></p>
<p><h5 class="text-left">FINAL PAYMENT MR. NO {%= mr_no %}</h5></p>
<p><h5 class="text-left">FOLIO NO. {%= folio_no %}</h5></p><br/>

Hi,

You have written the incorrect code,
Use {{ loan_number }} instead of {%= loan_number %} and do same changes in all other respective fields

Thanks, Rohit

1 Like