<?php $places = \Club\Admin\Calendar\Place::getAll(); ?> <div class="bootstrap-wrapper"> <div class="container"> <h1>Club Termine Orte</h1> <table class="table table-hover table-striped"> <thead> <tr> <td>Name</td> <td>Latitude</td> <td>Longitude</td> <td> </td> </tr> </thead> <tbody> <?php foreach ($places as $place) { ?> <tr id="<?php echo $place->getUuid(); ?> "> <td name="name"><?php echo $place->getName(); ?> </td> <td><?php echo $place->getLat(); ?>
<span id="dateTo_picker"></span><br /> <span id="divToHelp" class="help-block"></span> </div> </div> </div> </div> <div class="form-group" id="divOrt" class="can-have-error"> <label for="txtPlace" class="col-sm-2 control-label">Ort</label> <div class="col-sm-10"> <div class="row"> <div class="col-sm-10"> <span id="txtPlaceChoose"> <select class="form-control can-have-error combobox" id="txtPlace" data-divid="divOrt"> <option value="">Bitte Ort auswählen ...</option> <?php foreach (\Club\Admin\Calendar\Place::getAll() as $place) { $selected = ""; if ($event->getPlace() != null && $place->getUuid() == $event->getPlace()->getUuid()) { $selected = ' selected="selected"'; } ?> <option<?php echo $selected; ?> value="<?php echo $place->getUuid(); ?> "><?php echo $place->getName(); ?> </option>