{% extends 'base.html' %} {% load bootstrap %} {% block body_block %}
{% csrf_token %} {{ form|bootstrap_horizontal }}
{% if rests %} {% for rest in rests %} {% if forloop.first %}
{% endif %}

{{ rest.name }}

Location
{{ rest.locality }}
Cuisine
{{ rest.cuisines }}
Price
{{ rest.price_range }}
Rating
{{ rest.rating }}
Serves alcohol
{% if rest.alcohol %} Yes {% else %} No {% endif %}

Is this a good recommendation?

{% if user.is_authenticated %}
No
Neutral
Yes
{% endif %}
{% if forloop.counter|divisibleby:2 %}
{% endif %} {% if forloop.last %}
{% endif %} {% endfor %} {% else %} Please select a value from the dropdown-menu. {% endif %}
{% endblock %}