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:
johnny@pittpc.com
2019-07-27 19:58:59 -04:00
parent 6a83e960f6
commit 56f839809a
65 changed files with 254 additions and 238 deletions

View File

@@ -2,7 +2,7 @@
<div class="modal-dialog">
<div class="modal-content bg-dark">
<div class="modal-header">
<h5 class="modal-title text-white"><i class="fa fa-fw fa-globe mr-2"></i>Edit Domain</h5>
<h5 class="modal-title text-white"><i class="fa fa-fw fa-globe mr-2"></i><?php echo $domain_name ?></h5>
<button type="button" class="close text-white" data-dismiss="modal">
<span aria-hidden="true">&times;</span>
</button>
@@ -11,7 +11,7 @@
<input type="hidden" name="domain_id" value="<?php echo $domain_id; ?>">
<div class="modal-body bg-white">
<div class="form-group">
<label>Domain Name</label>
<label>Domain Name <strong class="text-danger">*</strong></label>
<div class="input-group">
<div class="input-group-prepend">
<span class="input-group-text"><i class="fa fa-fw fa-globe"></i></span>
@@ -74,7 +74,7 @@
<div class="input-group-prepend">
<span class="input-group-text"><i class="fa fa-fw fa-calendar"></i></span>
</div>
<input type="date" class="form-control" name="expire" value="<?php echo $domain_expire; ?>" required>
<input type="date" class="form-control" name="expire" value="<?php echo $domain_expire; ?>">
</div>
</div>