Merge pull request #416 from AndreasK79/Removednonefromprofileselect
Removed the ability to set none in stationprofile. Fixes #414
这个提交包含在:
当前提交
0628e3bdb3
共有 2 个文件被更改,包括 0 次插入 和 2 次删除
|
|
@ -315,7 +315,6 @@
|
|||
<div class="form-group">
|
||||
<label for="inputStationProfile">Change Station Profile</label>
|
||||
<select id="stationProfile" class="custom-select" name="station_profile">
|
||||
<option value="0" selected="selected">None</option>
|
||||
<?php foreach ($my_stations->result() as $stationrow) { ?>
|
||||
<option value="<?php echo $stationrow->station_id; ?>" <?php if($station_id == $stationrow->station_id) { echo "selected=\"selected\""; } ?>><?php echo $stationrow->station_profile_name; ?></option>
|
||||
<?php } ?>
|
||||
|
|
|
|||
|
|
@ -162,7 +162,6 @@
|
|||
<div class="form-group">
|
||||
<label for="inputStationProfile">Station Profile</label>
|
||||
<select id="stationProfile" class="custom-select" name="station_profile">
|
||||
<option value="0" selected="selected">None</option>
|
||||
<?php foreach ($stations->result() as $stationrow) { ?>
|
||||
<option value="<?php echo $stationrow->station_id; ?>" <?php if($this->session->userdata('station_profile_id') == $stationrow->station_id) { echo "selected=\"selected\""; } ?>><?php echo $stationrow->station_profile_name; ?></option>
|
||||
<?php } ?>
|
||||
|
|
|
|||
正在加载…
在新工单中引用