Added functionality.

This commit is contained in:
Patrick_Pluto 2024-09-17 15:03:51 +02:00
parent 2692972843
commit ca2c3f782b
4 changed files with 41 additions and 14 deletions

View file

@ -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>