Fixed issue with rendering renewals
parent
a8e1f3523f
commit
e36b2f53ce
|
@ -5,12 +5,13 @@
|
|||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
{% if result["type"] %}
|
||||
{% include "search/new_renewal.html" %}
|
||||
{% else %}
|
||||
<div class="results">
|
||||
{% if result["type"] %}
|
||||
|
||||
{% include "search/new_renewal.html" %}
|
||||
{% else %}
|
||||
{% include "search/new_registration.html" %}
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
|
|
|
@ -5,11 +5,15 @@
|
|||
{% if results %}
|
||||
{% include "search/paging.html" %}
|
||||
{% for result in results %}
|
||||
<div class = "results">
|
||||
<!-- {% include "search/render_registration.html" %} -->
|
||||
<div class="results">
|
||||
{% if result['type'] %}
|
||||
{% include "search/new_renewal.html" %}
|
||||
{% else %}
|
||||
{% include "search/new_registration.html" %}
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% include "search/paging.html" %}
|
||||
{% else %}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue