20 lines
457 B
HTML
20 lines
457 B
HTML
{% extends 'index.html' %}
|
|
{% load static %}
|
|
|
|
|
|
{% block content %}
|
|
|
|
<form action=""" method="post" enctype="multipart/form-data">
|
|
{% csrf_token %}
|
|
{{ form.as_p}}
|
|
{{ formset.management_form }}
|
|
{% for photo in formset %}
|
|
<label>{{photo.image}} {{photo.main_image}} </label>
|
|
{% endfor %}
|
|
<button style="background-color:black; color:white" class="btn btn-outline-info" type="submit">Create Offer </button>
|
|
|
|
</form>
|
|
|
|
{% endblock content %}
|
|
|