netzgebiet_id optional for admins; added HW/RW to preorder export
This commit is contained in:
@@ -96,6 +96,9 @@
|
||||
<label class="col-lg-2 col-form-label" for="netzgebiet_id">Netzgebiet *</label>
|
||||
<div class="col-lg-10">
|
||||
<select class="form-control" name="netzgebiet_id" id="netzgebiet_id">
|
||||
<?php if($me->is("Admin")): ?>
|
||||
<option value=""></option>
|
||||
<?php endif; ?>
|
||||
<?php foreach($my_adb_networks as $fnet): ?>
|
||||
<?php if(is_array($save_data) && array_key_exists("netzgebiet_id", $save_data) && $save_data['netzgebiet_id']): ?>
|
||||
<option value="<?=$fnet->id?>" <?=($save_data['netzgebiet_id'] == $fnet->id) ? "selected='selected'" : ""?>><?=$fnet->name?></option>
|
||||
|
||||
Reference in New Issue
Block a user