<?php // Open Form Xform::form('route', 'domaine.create'); // Hidden Xform::startRow('hidden'); Xform::addText('_token', 'x', Session::getToken(), 2); Xform::addText('id', 'ID', $datas->id, 2); Xform::addText('backUrl', '', $param['backUrl']); Xform::addText('user_id', 'USER_ID', Auth::user()->id, 1); Xform::endRow(); // Get Fields Xform::startRow(); Xform::addText('nom', 'Nom du domaine', $datas->nom, 5); Xform::endRow(); Xform::startRow(); Xform::addText('url', 'Url', $datas->url, 5); Xform::endRow(); Xform::startRow(); Xform::addSelect('typedomaine_id', Typedomaine::lists('libelle', 'id'), 'Type', $datas->typedomaine_id, 2); Xform::endRow(); // Buttons Xform::addSubmit(); Xform::addCancel($param['backUrl']); // Message bottom //Xform::addMessage('Ceci est un message'); ?> <!-- Close Form --> {{ Xform::show($errors,'left') }} {{ closeContent() }}
Xform::addSelect('statussocial_id', Statussocial::lists('libelle', 'id'), 'Status', $datas->statussocial_id, 3); Xform::addSelect('langue_id', Langue::lists('libelle', 'id'), 'Langue', $datas->langue_id, 2); Xform::endRow(); Xform::startRow(); Xform::addText('societe', 'Société', $datas->societe, 4); Xform::addText('numtva', 'N° de TVA', $datas->numtva, 3); Xform::endRow(); Xform::startRow(); Xform::addText('adr1', 'Adresse', $datas->adr1, 4); Xform::addText('adr2', 'Adresse 2', $datas->adr2, 4); Xform::endRow(); Xform::startRow(); Xform::addText('Tel1', 'Téléphone 1', $datas->tel1, 3); Xform::addText('Tel2', 'Téléphone 2', $datas->tel2, 3); Xform::endRow(); Xform::startRow(); Xform::addText('cpost', 'Code postal', $datas->cpost, 2); Xform::addText('ville', 'Ville', $datas->ville, 4); Xform::addSelect('nation_id', Nation::lists('libelle', 'id'), 'Pays', $datas->nation_id, 2); Xform::endRow(); // Buttons Xform::addSubmit(); Xform::addCancel($param['backUrl']); // Message bottom //Xform::addMessage('Ceci est un message'); ?> <!-- Close Form --> {{ Xform::show($errors,'left') }} {{ closeContent() }}
Xform::endRow(); Xform::startRow(); Xform::addSelect('nation_id', Nation::lists('libelle', 'id'), 'Nationalité', $datas->nation_id, 3); Xform::addSelect('langue_id', Langue::lists('libelle', 'id'), 'Langue', $datas->langue_id, 3); Xform::addText('Tel1', 'Téléphone', $datas->tel1, 3); Xform::endRow(); Xform::startRow(); Xform::addSelect('selectNation_id', Nation::lists('libelle', 'id'), 'Pays', $datas->club->region->nation->id, 3); Xform::addSelect('region_id', Region::listRegionsOneNation($datas->club->region->nation->id), 'Region', $datas->club->region->id, 3); Xform::addSelect('club_id', Club::listClubsOneRegion($datas->club->region->id), 'Club', $datas->club_id, 4); Xform::endRow(); Xform::startRow(); Xform::addText('licence', 'N° licence', $datas->licence, 3); Xform::addSelect('statusplayer_id', Statusplayer::lists('libelle', 'id'), 'Status', $datas->statusplayer_id, 2); Xform::addText('hcp', 'Hcp (index)', $datas->hcp, 2); Xform::addSelect('sexe_id', Sexe::lists('libelle', 'id'), 'Cat', $datas->sexe_id, 2); Xform::endRow(); // Buttons Xform::addSubmit(); Xform::addCancel($param['backUrl']); // Message bottom //Xform::addMessage('Ceci est un message'); ?> <!-- Close Form --> {{ Xform::show($errors,'left') }} {{ closeContent() }} <script>
</li> <li class="list-group-item"> <span class="badge dark no-bold">{{ $datas->categorie->agemin }} | {{ $datas->categorie->agemax }}</span> {{ gl('Age') }} </li> </ul> </div> <?php // Open Form Xform::form('route', 'competcategorie.savetee'); // Hidden Xform::startRow('hidden'); Xform::addText('_token', 'x', Session::getToken(), 2); Xform::addText('id', 'ID', $datas->id, 2); Xform::addText('backUrl', '', $param['backUrl']); Xform::endRow(); // Get Fields Xform::startRow(); Xform::addSelect('tee_id', Tee::lists('libelle', 'id'), 'Boites de départs', $datas->tee_id, 3); Xform::endRow(); // Buttons Xform::addSubmit(); Xform::addCancel($param['backUrl']); // Message bottom //Xform::addMessage('Ceci est un message'); ?> <!-- Close Form --> {{ Xform::show($errors,'left') }} {{ closeContent() }}
Xform::addText('_token', 'x', Session::getToken(), 2); Xform::addText('id', 'ID', $datas->id, 2); Xform::addText('backUrl', '', $param['backUrl']); Xform::addText('tour_id', 'TOUR_ID', MySession::getModel('tour')->id, 1); Xform::endRow(); // Get Fields Xform::startRow(); Xform::addSelect('parcour_id', Parcour::lists('nom', 'id'), 'Parcours', $datas->parcour_id, 4); Xform::addSelect('typeconfigdepart_id', ['1' => 'En ligne', '2' => 'Shotgun'], 'Type de départs', $datas->typeconfigdepart_id, 3); Xform::endRow(); Xform::startRow(); Xform::addText('nbjoueurs', $nbJoueurLibelle, $datas->nbjoueurs, 3); Xform::addSelect('starttee', ['1' => 1, '10' => 10], 'Au Trou', $datas->starttee, 2); Xform::addText('startheure', 'Commence à', $datas->startheure, 2); Xform::addSelect('interval', ['9' => '9 min', '10' => '10 min'], 'Toutes les', $datas->interval, 2); Xform::endRow(); Xform::startRow(); Xform::addSelect('slotbyflight', $nbJoueurDansFlightSelect, $nbJoueurDansFlight, $datas->slotbyflight, 4); Xform::addSelect('startergap', ['0' => 0, '1' => 1, '2' => 2, '3' => 3], 'Starter gap', $datas->startergap, 2); Xform::endRow(); // Buttons Xform::addSubmit(); Xform::addCancel($param['backUrl']); // Message bottom //Xform::addMessage('Ceci est un message'); ?> <!-- Close Form --> {{ Xform::show($errors,'left') }} {{ closeContent() }}
$param = $dsp->var['param']; ?> {{ openContent($param['titre']) }} <?php // Open Form Xform::form('route', 'tour.create'); // Hidden Xform::startRow('hidden'); Xform::addText('_token', 'x', Session::getToken(), 2); Xform::addText('id', 'ID', $datas->id, 2); Xform::addText('backUrl', '', $param['backUrl']); Xform::addText('compet_id', 'COMPET_ID', MySession::getModel('compet')->id, 1); Xform::endRow(); // Get Fields Xform::startRow(); Xform::addDate('datetour', 'Date', $datas->datetour, 2); Xform::addSelect('formulecompet_id', $datas->compet->typecompet->listFormules(), 'Formule de jeu', $datas->formulecompet_id, 3); Xform::endRow(); // Buttons Xform::addSubmit(); Xform::addCancel($param['backUrl']); // Message bottom //Xform::addMessage('Ceci est un message'); ?> <!-- Close Form --> {{ Xform::show($errors,'left') }} {{ closeContent() }}
Xform::addText('domaine_id', 'DOMAINE_ID', MySession::getModel('domaine', 'domaine')->id, 1); Xform::endRow(); // Get Fields Xform::startRow(); Xform::addText('nom', 'Nom de la compétition', $datas->nom, 5); Xform::addDate('date', 'Date', $datas->date, 2); Xform::addSelect('nbtours', ['1' => 1, '2' => 2, '3' => 3, '4' => 4], 'Nombre de tours', $datas->nbtours, 3); Xform::endRow(); Xform::startRow(); Xform::addSelect('genrecompet_id', Genrecompet::lists('libelle', 'id'), 'Genre', $datas->genrecompet_id, 3); Xform::addSelect('typecompet_id', Typecompet::lists('libelle', 'id'), 'Type', $datas->typecompet_id, 3); Xform::addSelect('modecompet_id', Modecompet::lists('libelle', 'id'), 'Type', $datas->modecompet_id, 3); Xform::endRow(); Xform::startRow(); Xform::addText('maxplayers', 'Nombre de joueurs max', $datas->maxplayers, 4); Xform::addSelect('teeselection', [0 => 'Défini par la catégorie', 1 => 'Choix du joueur'], 'Selection du tee de départ', $datas->teeselection, 4); Xform::endRow(); // Buttons Xform::addSubmit(); Xform::addCancel($param['backUrl']); // Message bottom //Xform::addMessage('Ceci est un message'); ?> <!-- Close Form --> {{ Xform::show($errors,'left') }} {{ closeContent() }} <script type="text/javascript">
Xform::addText('backUrl', '', $param['backUrl']); Xform::addText('compet_id', 'COMPET_ID', $param['compet_id'], 1); Xform::endRow(); ?> @foreach($tours as $tour) <?php $t = $tour->num; // Hidden Xform::startRow('hidden'); Xform::addText('id[' . $t . ']', 'ID', $tour->id, 2); Xform::endRow(); // Get Fields Xform::startRow(); Xform::addDate('datetour[' . $t . ']', 'Date', $tour->datetour, 2); Xform::addSelect('formulecompet_id[' . $t . ']', $tour->compet->typecompet->listFormules(), 'Formule de jeu', $tour->formulecompet_id, 3); Xform::endRow(); ?> @endforeach <?php // Buttons Xform::addSubmit(); ?> <!-- Close Form --> {{ Xform::show($errors,'left') }} {{ closeContent() }}