fix
This commit is contained in:
parent
4712bd6534
commit
6506305c05
2 changed files with 44 additions and 87 deletions
|
@ -34,7 +34,7 @@ pub async fn message_page(r: HttpRequest) -> impl Responder {
|
|||
h1 { "Message" };
|
||||
br;
|
||||
|
||||
form action=(format!("http://{host}/message")) method="post" autocomplete="off" {
|
||||
form action=(web_base::func::get_full_url(&r)) 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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue