Commit 81cc93a9 authored by Jansen Lao's avatar Jansen Lao
parents b3b95b03 be70de6a
......@@ -26,6 +26,8 @@
<div class="form-group">
<label for="name" > Date Created: </label>
<input type="date" class="form-control" id="date" name="date" required>
<label for="name"> Date Created: </label>
<input type="datetime-local" class="form-control" id="date" name="date" required>
</div>
<a href="{% url 'add_food' %}"><button type="submit" class="mt-3 btn btn-primary" >Add Food</button></a>
......
......@@ -19,12 +19,12 @@
<div class="form-group">
<label for="name"> Quantity: </label>
<input type="number" class="form-control" id="qty" name="qty" value="{{order.qty}}" required>
<input type="number" class="form-control" id="qty" name="qty" required>
</div>
<div class="form-group">
<label for="name"> Date of Order: </label>
<input type="date" class="form-control" id="date" name="date" value="{{order.ordered_at}}" required>
<input type="datetime-local" class="form-control" id="date" name="date" required>
</div>
<div class="form-group">
......
......@@ -21,7 +21,7 @@
</div>
<div class="form-group">
<label for="name"> Date Created: </label>
<input type="date" class="form-control" id="date" name="date" value="{{food.created_at}}" required>
<input type="datetime-local" class="form-control" id="date" name="date" value="{{food.created_at}}" required>
</div>
<a href="{% url 'update_food' food.pk %}"><button type="submit" class="mt-3 btn btn-primary">Update Food</button></a>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment