Changes - Minor - Modification de la façon d'envoyer l'action, afin d'améliorer le rafraichissement

de la page. Et div autour de la partie "antispam visible par les humains".
This commit is contained in:
Zatalyz 2024-11-18 10:27:53 +01:00
parent 542a24939f
commit 47abb24746

View file

@ -28,6 +28,7 @@
<textarea id="message" name="message" rows="6" cols="50" placeholder="Entrer votre message"></textarea>
</div>
<!-- Antibot -->
<div class="areyoubot">
<div>
<input id="nobotc" type="checkbox" name="nobotc" value="<?php echo md5($nobot); ?>" />
@ -49,11 +50,13 @@
</div>
<!-- Envoyer -->
<div>
<input type="hidden" name="action" value="submit_form">
<ul class="actions">
<li><input type="submit" name="new_question" value="Demander une autre question"></li>
<li><input type="submit" name="submit_form" class="primary" value="<?php echo $txt['submit_button']; ?>"></li>
<li><button type="submit" name="action" value="new_question" >Demander une autre question</button></li>
<li><button type="submit" name="action" value="submit_form" class="primary"><?php echo $txt['submit_button']; ?></button></li>
</ul>
</div>
</div>
</div>
</form>