Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gethugothemes/dot-hugo-documentation-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsomratpro <abdulmonnafsomrat@gmail.com>2021-04-27 06:50:17 +0300
committersomratpro <abdulmonnafsomrat@gmail.com>2021-04-27 06:50:17 +0300
commite45d6108ea93c436892aa81a5f20e682385f7c30 (patch)
treeddc1fc92799a6e6b967f7929baa923fd2d4bf639
parentf90395f13bdf64555625835a98bd84db3e959578 (diff)
added method for contact form
-rw-r--r--layouts/contact/list.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/contact/list.html b/layouts/contact/list.html
index cbc82f2..9278c5c 100644
--- a/layouts/contact/list.html
+++ b/layouts/contact/list.html
@@ -7,7 +7,7 @@
<div class="col-12">
<h2 class="section-title text-primary">{{ .Title }}</h2>
{{ .Content }}
- <form action="{{ .Site.Params.contact_form_action | safeURL }}">
+ <form action="{{ .Site.Params.contact_form_action | safeURL }}" method="POST">
<input type="text" id="name" name="name" placeholder="Name" class="form-control mb-4 shadow rounded-0">
<input type="email" id="mail" name="mail" placeholder="Email" class="form-control mb-4 shadow rounded-0">
<input type="text" id="subject" name="subject" placeholder="subject"