Added functionality.
This commit is contained in:
parent
2692972843
commit
ca2c3f782b
4 changed files with 41 additions and 14 deletions
|
@ -112,13 +112,13 @@
|
|||
{% endif %}
|
||||
{% endfor %}
|
||||
<form method="POST" action="" id="buttonForm">
|
||||
<button type="button" name="chat" value="resend">
|
||||
<button type="submit" name="chat" value="resend">
|
||||
<img src="/static/img/resend.svg" alt="resend">
|
||||
</button>
|
||||
<button type="button" name="chat" value="edit">
|
||||
<button type="submit" name="chat" value="edit">
|
||||
<img src="/static/img/edit.svg" alt="edit">
|
||||
</button>
|
||||
<button type="button" name="chat" value="copy">
|
||||
<button type="submit" name="chat" value="copy">
|
||||
<img src="/static/img/copy.svg" alt="copy">
|
||||
</button>
|
||||
</form>
|
||||
|
@ -127,7 +127,7 @@
|
|||
|
||||
<!-- Input section -->
|
||||
<form class="input" method="POST" action="" id="inputForm">
|
||||
<input type="text" name="user_message" placeholder="Type your message here...">
|
||||
<input type="text" name="user_message" placeholder="Type your message here..." value="{{ input }}">
|
||||
<button type="submit" name="option" value="chat">
|
||||
<img src="/static/img/send.svg" alt="send">
|
||||
</button>
|
||||
|
|
Reference in a new issue