fix message url

This commit is contained in:
JMARyA 2023-01-12 16:39:40 +01:00
parent 293ae1f2fd
commit 4712bd6534
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263

View file

@ -34,7 +34,7 @@ pub async fn message_page(r: HttpRequest) -> impl Responder {
h1 { "Message" };
br;
form action=(format!("http://{host}")) method="post" autocomplete="off" {
form action=(format!("http://{host}/message")) method="post" autocomplete="off" {
input value="" type="text" required name="msg_name" placeholder="Name" class="form-control bg-dark text-white" style="margin-bottom: 15px";
textarea placeholder="Message" required name="message" cols="10" rows="10" class="form-control bg-dark text-white" style="margin-bottom: 15px;" {};
input value="Send Message" type="submit" required name="submit" class="btn btn-danger text-white text-decoration-none";