Clean up form fields

This commit is contained in:
Erick Ruiz de Chavez 2021-01-08 08:51:51 -05:00
parent 1e9d96ba4e
commit dae7fb01ca

View file

@ -12,11 +12,10 @@ headscripts:
</script> </script>
<form action="https://formspree.io/f/mzbkydal" method="POST" class="flex flex-col" id="contact-form"> <form action="https://formspree.io/f/mzbkydal" method="POST" class="flex flex-col" id="contact-form">
<input type="hidden" name="_subject" value="Contact Form" />
<label for="name" class="mt-4">Your name:</label> <label for="name" class="mt-4">Your name:</label>
<input type="text" required="required" id="name" name="name" class="p-2 dark:bg-gray-700 dark:text-gray-200"> <input type="text" required="required" id="name" name="name" class="p-2 dark:bg-gray-700 dark:text-gray-200">
<label for="_replyto" class="mt-4">Your email:</label> <label for="email" class="mt-4">Your email:</label>
<input type="email" required="required" id="_replyto" name="_replyto" class="p-2 dark:bg-gray-700 dark:text-gray-200"> <input type="email" required="required" id="email" name="email" class="p-2 dark:bg-gray-700 dark:text-gray-200">
<label for="message" class="mt-4">Your message:</label> <label for="message" class="mt-4">Your message:</label>
<textarea id="message" required="required" name="message" class="h-48 p-2 dark:bg-gray-700 dark:text-gray-200"></textarea> <textarea id="message" required="required" name="message" class="h-48 p-2 dark:bg-gray-700 dark:text-gray-200"></textarea>
<button class="mt-4 p-2 bg-gray-600 text-gray-200 dark:bg-gray-200 dark:text-gray-600 font-bold rounded-full g-recaptcha" data-sitekey="6LfNwyUaAAAAAH18i_mA70aeQHdbMT4RLzMLaxuc" data-callback='onSubmit'>Submit</button> <button class="mt-4 p-2 bg-gray-600 text-gray-200 dark:bg-gray-200 dark:text-gray-600 font-bold rounded-full g-recaptcha" data-sitekey="6LfNwyUaAAAAAH18i_mA70aeQHdbMT4RLzMLaxuc" data-callback='onSubmit'>Submit</button>