{% extends 'base.html' %} {% load bootstrap %} {% block title %}- Rate restaurants!{% endblock %} {% block body_block %}
{% csrf_token %} {{ form|bootstrap_horizontal }}
{% if count > 0 %} {% for rest in restaurants %} {% if forloop.first %}
{% endif %}

{{ rest.name }}

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

Rate the restaurant for the following situations

{% if user.is_authenticated %}
Business
Special
Casual
Romance
{% endif %}
{% if forloop.counter|divisibleby:2 %}
{% endif %} {% if forloop.last %}
{% endif %} {% endfor %} {% else %} There are no matching restaurants for your search. {% endif %}
{% endblock %}