{% extends 'layout.html' %} {% block title %}Post Ad{% endblock %} {% block content %} {% if step == 'choose_category' %}

Post Ad - Choose Category

Category {{ form.cat1 }} {{ form.cat2 }} {{ form.cat3 }}
{{ form.csrf_token }} {{ form.submit }}
{% elif step == 'fill_attributes' %}

Post Ad

{% for item in attrib_form %} {% endfor %}
{{ form.adtype.label }} {{ form.adtype }}
{{ item.label }} {{ item }}
{{ form.adtitle.label }} {{ form.adtitle}}
{{ form.description.label }} {{ form.description }}
{{ form.price.label }} {{ form.pricetype }} {{ form.price }}
{{ form.loc1.label }} {{ form.loc1 }} {{ form.loc2 }} {{ form.loc3 }}
{{ form.postalcode.label }} {{ form.postalcode }}
{{ form.fulladdress.label }} {{ form.fulladdress }}
{{ form.phone.label }} {{ form.phone }}
{{ form.file1.label }} {{ form.file1 }} {{ form.file2 }} {{ form.file3 }} {{ form.file4 }} {{ form.file5 }} {{ form.file6 }} {{ form.file7 }} {{ form.file8 }} {{ form.file9 }} {{ form.file10 }}
{{ form.csrf_token }} {{ form.submit }}
{% endif %} {% endblock %}