mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-21 00:46:27 +02:00
Update discussion to implement new scheduled with id phone instead of number
This commit is contained in:
parent
1be127e260
commit
f4cb825d16
2 changed files with 15 additions and 8 deletions
|
@ -39,8 +39,8 @@
|
|||
<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="destination" value="<?php $this->s($number); ?>" />
|
||||
<?php if ($response_number ) { ?>
|
||||
<input type="hidden" name="origin" value="<?php $this->s($response_number); ?>" />
|
||||
<?php if ($response_phone ) { ?>
|
||||
<input type="hidden" name="id_phone" value="<?php $this->s($response_phone['id']); ?>" />
|
||||
<?php } ?>
|
||||
<button class="btn" ><span class="fa fa-fw fa-send-o"></span> Envoyer</button>
|
||||
</form>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue