Skip to content

Commit

Permalink
Update vehiclesform.php
Browse files Browse the repository at this point in the history
  • Loading branch information
pavlosb committed Apr 2, 2024
1 parent 2a5aff7 commit 3882743
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions application/views/vehiclesform.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
<label for="fueltyp_vhcl"><?= $this->lang->line('fuel_vhcl'); ?></label>
<div class="input-group mb-3">
<select class="custom-select" name="fueltyp_vhcl" id="fueltyp_vhcl" >
<option>Επιλογή...</option>
<option value = ""><?= $this->lang->line('choose'); ?></option>
<?php foreach ($fueltypes as $ft) { ?>
<option value="<?= $ft ?>" <?php if ($ft == $fueltyp_vhcl) { echo "SELECTED"; } ?>><?= $this->lang->line($ft); ?></option>
<?php } ?>
Expand Down Expand Up @@ -217,7 +217,14 @@
},
}
},
make_vhcl: {
make_vhcl: {
validators: {
notEmpty: {
message: '<?= $this->lang->line('required_field'); ?>'
},
}
}
fueltyp_vhcl: {
validators: {
notEmpty: {
message: '<?= $this->lang->line('required_field'); ?>'
Expand Down

0 comments on commit 3882743

Please sign in to comment.