mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 19:04:52 +00:00
Added Red * to required fields, fixed blank form dates not erroring out because of not being null, current defaults to 0000-00-00 if blank
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
<input type="hidden" name="product_id" value="<?php echo $product_id; ?>">
|
||||
<div class="modal-body bg-white">
|
||||
<div class="form-group">
|
||||
<label>Name</label>
|
||||
<label>Name <strong class="text-danger">*</strong></label>
|
||||
<input type="text" class="form-control" name="name" value="<?php echo $product_name; ?>" required>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
@@ -19,8 +19,8 @@
|
||||
<input type="text" class="form-control" name="description" value="<?php echo $product_description; ?>">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>Cost</label>
|
||||
<input type="text" class="form-control" name="cost" value="<?php echo $product_cost; ?>">
|
||||
<label>Cost <strong class="text-danger">*</strong></label>
|
||||
<input type="text" class="form-control" name="cost" value="<?php echo $product_cost; ?>" required>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer bg-white">
|
||||
|
||||
Reference in New Issue
Block a user