Fixed issue with rendering renewals

pull/9/head
Rachel Kim 2020-04-21 00:07:08 -04:00
parent a8e1f3523f
commit e36b2f53ce
2 changed files with 11 additions and 6 deletions

View File

@ -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 %}

View File

@ -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 %}