{% extends "base.html" %} {% load static %} {% block content %}

Home

{% for company in companies %}
{{ company.name }}

{{ company.tag_line | truncatechars:40 }}

{% endfor %}
{% for company in companies %}

{{ company.name }}

{% if company.feedback_set.all %}
{% for review in company.feedback_set.all %}

{{ review.first_name }}
{{ review.comment }}
{% endfor %}

View All Reviews {% else %}

This company is yet to have any feedback

{% endif %}
{% endfor %}
{% endblock content %}