1
0
mirror of https://gitlab.com/animath/si/plateforme-corres2math.git synced 2025-07-03 13:22:47 +02:00

Desgn "Mon compte" & mini-corrections

This commit is contained in:
galaxyoyo
2019-09-24 23:44:38 +02:00
parent b6434cafb8
commit 90952ecb7c
13 changed files with 158 additions and 125 deletions

View File

@ -13,7 +13,7 @@ foreach ($questions as $questions_team) {
?>
<form method="POST" enctype="multipart/form-data">
<input type="hidden" name="from" value="<?= $from->getTrigram() ?>" />
<table style="width: 100%;">
<table >
<tbody>
<?php
for ($i = 0; $i < sizeof($questions_team); ++$i) {
@ -45,7 +45,7 @@ foreach ($questions as $questions_team) {
<label for="answer_<?= $i + 1 ?>">Réponse :</label>
</td>
<td>
<textarea style="width: 100%;" id="answer_<?= $i + 1 ?>" name="answer_<?= $i + 1 ?>"><?= $question->getAnswer() ?></textarea>
<textarea id="answer_<?= $i + 1 ?>" name="answer_<?= $i + 1 ?>"><?= $question->getAnswer() ?></textarea>
</td>
</tr>
<?php
@ -64,7 +64,7 @@ foreach ($questions as $questions_team) {
<label for="file_<?= $i + 1 ?>">Ajouter une pièce jointe (<em>facultatif</em>) :</label>
</td>
<td>
<input style="width: 100%;" type="file" name="file_<?= $i + 1 ?>" id="file_<?= $i + 1 ?>" />
<input type="file" name="file_<?= $i + 1 ?>" id="file_<?= $i + 1 ?>" />
</td>
</tr>
<?php } ?>
@ -75,7 +75,7 @@ foreach ($questions as $questions_team) {
</tr>
<tr>
<td colspan="2">
<input style="width: 100%;" type="submit" name="answer" value="Répondre aux questions posées" />
<input type="submit" name="answer" value="Répondre aux questions posées" />
</td>
</tr>
</tbody>