Dodaj wymagane atrybuty do pól e-mail i telefonu w formularzu aplikacyjnym
This commit is contained in:
@@ -45,13 +45,13 @@
|
||||
<div class="_columns">
|
||||
<div class="_left">Email:<span class="red">*</span></div>
|
||||
<div class="_right">
|
||||
<input type="text" id="email" name="email" class="form-control" value="<?= $this->g_user['email'] ? htmlspecialchars($this->g_user['email']) : htmlspecialchars(\S::get_session('advert_answer_email')); ?>">
|
||||
<input type="email" id="email" name="email" required class="form-control" value="<?= $this->g_user['email'] ? htmlspecialchars($this->g_user['email']) : htmlspecialchars(\S::get_session('advert_answer_email')); ?>">
|
||||
</div>
|
||||
</div>
|
||||
<div class="_columns">
|
||||
<div class="_left">Telefon:<span class="red">*</span></div>
|
||||
<div class="_right">
|
||||
<input type="text" id="phone" name="phone" class="form-control" value="<?= $this->g_user['phone'] ? htmlspecialchars($this->g_user['phone']) : htmlspecialchars(\S::get_session('advert_answer_phone')); ?>">
|
||||
<input type="text" id="phone" name="phone" required class="form-control" value="<?= $this->g_user['phone'] ? htmlspecialchars($this->g_user['phone']) : htmlspecialchars(\S::get_session('advert_answer_phone')); ?>">
|
||||
</div>
|
||||
</div>
|
||||
<div class="_columns">
|
||||
|
||||
Reference in New Issue
Block a user