Added select2 classes to all New records

This commit is contained in:
root
2019-06-07 23:47:11 -04:00
parent 925e635e9d
commit 05f54a20db
23 changed files with 51 additions and 46 deletions

View File

@@ -48,10 +48,14 @@
<div class="input-group-prepend">
<span class="input-group-text"><i class="fa fa-fw fa-list"></i></span>
</div>
<select class="form-control" name="type" required>
<option value="">- Type -</option>
<select class="form-control" name="type">
<?php foreach($client_types_array as $client_type_select) { ?>
<option <?php if($client_type_select == $client_type) { echo "selected"; } ?>><?php echo $client_type_select; ?></option>
<option
value="<?php echo $client_type_select; ?>"
<?php if($client_type_select == $client_type) { echo "selected"; } ?> >
<?php echo $client_type_select; ?>
</option>
<?php } ?>
</select>
</div>
@@ -87,7 +91,7 @@
<div class="input-group-prepend">
<span class="input-group-text"><i class="fa fa-fw fa-flag"></i></span>
</div>
<select class="form-control" name="state">
<select class="form-control" data-live-search="true" name="state">
<option value="">- State -</option>
<?php foreach($states_array as $state_abbr => $state_name) { ?>
<option <?php if($client_state == $state_abbr) { echo "selected"; } ?> value="<?php echo $state_abbr; ?>"><?php echo $state_name; ?></option>