{% extends 'dashboard/base.html' %} {% load i18n re_paginator %} {% block content-header %}

Listings

{% endblock %} {% block content %} {% if messages %} {% for message in messages %}
{{ message }}
{% endfor %} {% endif %} {% trans "Add New" %}

{% trans "Listings" %}

{% for listing in object_list %} {% endfor %}
ID Title Price Type Image
ID {% trans "Title" %} {% trans "Price" %} {% trans "Type" %} {% trans "Image" %}
{{ listing.id }} {{ listing.title }} {{ listing.price }} {{ listing.type }} {{ listing.main_image }}
{% if is_paginated %}
{% pagination_url page_obj %}
{% endif %}
{% endblock %}