Skip to content
Permalink
5cb1253178
Switch branches/tags

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?
Go to file
 
 
Cannot retrieve contributors at this time
37 lines (31 sloc) 712 Bytes
{% 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 %}