Example #1
0
                    </div>
                </div>            
            </div>
            <div class="col-md-8 form-horizontal">
                <div class="form-group">
                    <label for="match" class="col-lg-2 control-label">Partij</label>
                    <div class="col-lg-10">
                        <input type="text" class="form-control" id="match" placeholder="Email">
                    </div>
                </div>
                <div class="form-group">
                    <label for="playerWhite" class="col-lg-2 control-label">Handmatig</label>
                    <div class="col-lg-5">
                        <select type="text" class="form-control" id="playerWhite" name="playerWhite" data-placeholder="Witspeler"><option></option>
                            <?php 
foreach ($competitie->getPlayers() as $player) {
    $player->getDetails();
    echo '<option value="' . $player->id . '">' . $player->name . '</option>';
}
?>
                        </select>
                    </div>
                    <div class="col-lg-5">
                        <select type="text" class="form-control" id="playerBlack" name="playerBlack" data-placeholder="Zwartspeler"><option></option>
                            <?php 
foreach ($competitie->getPlayers() as $player) {
    $player->getDetails();
    echo '<option value="' . $player->id . '">' . $player->name . '</option>';
}
?>
                        </select>