bugfix Buidling/Form

This commit is contained in:
Frank Schubert
2021-07-13 23:07:31 +02:00
parent da952bfe3a
commit 676ee46f8f
2 changed files with 48 additions and 1 deletions

View File

@@ -36,7 +36,7 @@
<div class="form-group row">
<label class="col-lg-2 col-form-label" for="network_id">Netzgebiet</label>
<div class="col-lg-10">
<select class="select2 form-control " name="network_id" id="building_id">
<select class="select2 form-control " name="network_id" id="network_id">
<option></option>
<?php foreach($networks as $network): ?>
<option value="<?=$network->id?>" <?=($building->network_id == $network->id) ? "selected='selected'" : ""?>><?=($network->name)?></option>