mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-21 08:56:27 +02:00
Use correct phone for response to discussion
This commit is contained in:
parent
c4bc7d94c1
commit
aee9fc847f
7 changed files with 104 additions and 6 deletions
|
@ -38,7 +38,10 @@
|
|||
<div class="discussion-message message-input">
|
||||
<form class="send-message-discussion" action="<?php $this->s(\descartes\Router::url('Discussion', 'send', ['csrf' => $_SESSION['csrf']])); ?>" method="POST">
|
||||
<textarea name="text" placeholder="Envoyer un message..."></textarea>
|
||||
<input type="hidden" name="numbers[]" value="<?php $this->s($number); ?>" />
|
||||
<input type="hidden" name="destination" value="<?php $this->s($number); ?>" />
|
||||
<?php if ($response_number ) { ?>
|
||||
<input type="hidden" name="origin" value="<?php $this->s($response_number); ?>" />
|
||||
<?php } ?>
|
||||
<button class="btn" ><span class="fa fa-fw fa-send-o"></span> Envoyer</button>
|
||||
</form>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue