<fieldset>
    <legend>Question n°<span
            class="questionNumberDisplay">{{ questionNumberDisplay }} <?php 
echo $requiredField;
?>
</span>
            <span title="Supprimer la question n°{{ questionNumberDisplay }}"
                  class="btn-remove-question glyphicon-remove"></span>
    </legend>
    <?php 
echo BootForm::textarea('Énoncé' . $requiredField, 'questions[{{questionNumber}}]')->rows(2)->required()->value('{{question}}');
?>

    <table class="table-qcm table-responsive">
        <thead>
        <tr>
            <th class="text-center">Bonne réponse <?php 
echo $requiredField;
?>
</th>
            <th>Réponses <?php 
echo $requiredField;
?>
</th>
        </tr>
        </thead>
        <tbody>
        {{#answers}}
            <tr>
                <td class="table-qcm__valid">
Exemplo n.º 2
0
<?php

echo BootForm::open(['route' => ['sheets.add_pilots', $site->id]]);
echo BootForm::hidden('_action', 'add_pilots');
echo BootForm::textarea('pilots');
?>
 <small class="text-muted">Copy and Paste your fleet composition here</small> <?php 
echo Button::submit()->withValue('Save')->block();
echo BootForm::close();
Exemplo n.º 3
0
<?php

echo BootForm::open(['route' => ['sheets.mark_as_finished', $site->id]]);
echo BootForm::hidden('_action', 'mark_as_finished');
echo BootForm::number('payout', 'Site Payout');
echo BootForm::textarea('comment');
echo Button::submit()->withValue('Save')->block();
echo BootForm::close();