Add missing form ids

This commit is contained in:
M.Ravi 2017-10-02 01:34:32 +02:00
parent a605901850
commit 42224a5d38

View file

@ -6,14 +6,17 @@
{% endblock navbar %} {% endblock navbar %}
{% block submit_btn %} {% block submit_btn %}
<form action="" method="POST"> <form id="virtual_machine_create_form" action="" method="POST">
{% csrf_token %} {% csrf_token %}
<div class="row"> <div class="row">
<div class="col-sm-8"> <div class="col-sm-8">
<div class="dcl-place-order-text">{% blocktrans with vm_price=request.session.specs.price %}By clicking "Place order" this plan will charge your credit card account with the fee of {{ vm_price }}CHF/month{% endblocktrans %}.</div> <div class="dcl-place-order-text">{% blocktrans with vm_price=request.session.specs.price %}By clicking "Place order" this plan will charge your credit card account with the fee of {{ vm_price }}CHF/month{% endblocktrans %}.</div>
</div> </div>
<div class="col-sm-4 order-confirm-btn text-right"> <div class="col-sm-4 order-confirm-btn text-right">
<button type="submit" class="btn choice-btn">{% trans "Place order" %}</button> <button class="btn choice-btn" id="btn-create-vm"
data-toggle="modal" data-target="#createvm-modal">
{% trans "Place order" %}
</button>
</div> </div>
</div> </div>
</form> </form>