Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Equal-Distribution-maintenance-system/EDMS/shoppingCart/templates/shoppingCart/order_form.html
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
37 lines (31 sloc)
712 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% extends 'shoppingCart/store_dashBoard.html' %} | |
{% load static %} | |
{% block content %} | |
{% load widget_tweaks %} | |
<div class="row"> | |
<div class="col-md-6"> | |
<div class="card card-body"> | |
{% if action == 'create' %} | |
<h3>Create Shop Order</h3> | |
{% elif action == 'update' %} | |
<h3>Update Shop Order</h3> | |
{% endif %} | |
</div> | |
</div> | |
</div> | |
<div class="row"> | |
<div class="col-md-6"> | |
<div class="card card-body"> | |
<form action="" method="POST"> | |
{% csrf_token %} | |
{% for field in form %} | |
{{field.label}} | |
{{field|add_class:'form-control'}} | |
{% endfor %} | |
<hr> | |
<input type="submit" class="btn btn-info"> | |
</form> | |
</div> | |
</div> | |
</div> | |
{% endblock %} |