Removed the ability to set none in stationprofile. Fixes #414

这个提交包含在:
AndreasK79 2020-02-12 19:55:36 +01:00
父节点 e70039661a
当前提交 a57edd0366
共有 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 } ?>