added method for contact form

This commit is contained in:
somratpro 2021-04-27 09:50:17 +06:00
parent f90395f13b
commit e45d6108ea

View file

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