{% extends 'buybacks/page.html' %}
{% load i18n %}
{% load humanize %}
{% load bootstrap %}
{% load number %}

{% block body %}
<form class="form" action="{% url 'buybacks:notification_edit' notification_pk=notification.id %}?mine={{ mine }}" method="POST">
  {% csrf_token %}
  {{ form|bootstrap }}

  <div style="text-align: center; margin-top: 20px;">
    <p class="text-muted">Total Contract Value: <span class="text-primary" id="total">{{ notification.total|format_number:0 }}</span> ISK</p>
  </div>

  <button type="submit" class="btn btn-primary">{% trans "Edit" %}</button>
</form>
{% endblock %}

{% block extra_javascript %}
{% endblock %}

{% block extra_css %}
{% endblock %}

{% block extra_script %}
{% endblock %}
