fix message url
This commit is contained in:
parent
293ae1f2fd
commit
4712bd6534
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ pub async fn message_page(r: HttpRequest) -> impl Responder {
|
||||||
h1 { "Message" };
|
h1 { "Message" };
|
||||||
br;
|
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";
|
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;" {};
|
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";
|
input value="Send Message" type="submit" required name="submit" class="btn btn-danger text-white text-decoration-none";
|
||||||
|
|
Loading…
Add table
Reference in a new issue