echo $project->getLocation(); } } ?> "/> <p class="alert alert-warning tip-loading-bay hide" role="alert"><span class="glyphicon glyphicon-star"></span> The loading bay must be kept clear at all times.</p> </div> </div> <div class="form-group"> <label for="from_date" class="col-sm-3 control-label">Storage Dates</label> <div class="col-sm-9"> arrival <input type="date" placeholder="yyyy-mm-dd" value="<?php if ($_POST && $_POST['from_date']) { echo $_POST['from_date']; } else { if ($project->getFromDate()) { echo $project->getFromDate(); } } ?> " min="<?php echo date('Y-m-d'); ?> " max="<?php echo date('Y-m-d', strtotime("+{$maxStorageMonths} months")); ?> " id="from_date" name="from_date" class="form-control" /> <div style="display:inline;white-space:nowrap;">removal <input type="date" placeholder="yyyy-mm-dd" value="<?php if ($_POST && $_POST['to_date']) { echo $_POST['to_date']; } else {