Replaced required fields with red stars and removed form message

This commit is contained in:
Alex Tselegidis 2020-09-28 15:12:49 +03:00
parent d9985643f3
commit 4a4403e9a1

View file

@ -242,15 +242,24 @@
<div class="row frame-content">
<div class="col-12 col-md-6">
<div class="form-group">
<label for="first-name" class="control-label"><?= lang('first_name') ?> <span class="text-danger">*</span></label>
<label for="first-name" class="control-label">
<?= lang('first_name') ?>
<span class="text-danger">*</span>
</label>
<input type="text" id="first-name" class="required form-control" maxlength="100"/>
</div>
<div class="form-group">
<label for="last-name" class="control-label"><?= lang('last_name') ?> <span class="text-danger">*</span></label>
<label for="last-name" class="control-label">
<?= lang('last_name') ?>
<span class="text-danger">*</span>
</label>
<input type="text" id="last-name" class="required form-control" maxlength="120"/>
</div>
<div class="form-group">
<label for="email" class="control-label"><?= lang('email') ?> <span class="text-danger">*</span></label>
<label for="email" class="control-label">
<?= lang('email') ?>
<span class="text-danger">*</span>
</label>
<input type="text" id="email" class="required form-control" maxlength="120"/>
</div>
<div class="form-group">
@ -265,29 +274,31 @@
<div class="col-12 col-md-6">
<div class="form-group">
<label for="address" class="control-label"><?= lang('address') ?></label>
<label for="address" class="control-label">
<?= lang('address') ?>
</label>
<input type="text" id="address" class="form-control" maxlength="120"/>
</div>
<div class="form-group">
<label for="city" class="control-label"><?= lang('city') ?></label>
<label for="city" class="control-label">
<?= lang('city') ?>
</label>
<input type="text" id="city" class="form-control" maxlength="120"/>
</div>
<div class="form-group">
<label for="zip-code" class="control-label"><?= lang('zip_code') ?></label>
<label for="zip-code" class="control-label">
<?= lang('zip_code') ?>
</label>
<input type="text" id="zip-code" class="form-control" maxlength="120"/>
</div>
<div class="form-group">
<label for="notes" class="control-label"><?= lang('notes') ?></label>
<label for="notes" class="control-label">
<?= lang('notes') ?>
</label>
<textarea id="notes" maxlength="500" class="form-control" rows="1"></textarea>
</div>
</div>
</div>
<div id="form-message" class="text-danger" hidden>
<small>
<?= lang('fields_are_required') ?>
</small>
</div>
</div>
<?php if ($display_terms_and_conditions): ?>