{% extends "base.html" %}

{% block content %}
<div class="container mt-5">
    <div class="card">
        <div class="card-header">
            <h1 class="card-title">Update Tender</h1>
        </div>
        <div class="card-body">
            <form method="post">
                {% csrf_token %}
                {{ form.as_p }}
                <button type="submit" class="btn btn-primary">Update Tender</button>
            </form>
        </div>
        <div class="card-footer">
            <a href="{% url 'tender_detail' tender.id %}" class="btn btn-secondary">Back to Tender</a>
        </div>
    </div>
</div>
{% endblock %}
