Misc updates

- Fix quotes in workflow.
- Add required attribute to contact form fields.
This commit is contained in:
Erick Ruiz de Chavez 2021-01-07 07:31:08 -05:00
parent 021134bc12
commit ae7ddff223
2 changed files with 5 additions and 5 deletions

View file

@ -5,7 +5,7 @@ on:
branches: branches:
- main - main
schedule: schedule:
- cron: '0 0 * * *' - cron: "0 0 * * *"
jobs: jobs:
build: build:

View file

@ -5,13 +5,13 @@ title: Contact
<form action="https://formspree.io/f/mzbkydal" method="POST" class="flex flex-col"> <form action="https://formspree.io/f/mzbkydal" method="POST" class="flex flex-col">
<input type="text" name="_gotcha" style="display:none" /> <input type="text" name="_gotcha" style="display:none" />
<input type="hidden" name="_subject" value="ERCH 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" 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="_replyto" class="mt-4">Your email:</label>
<input type="email" id="_replyto" name="_replyto" class="p-2 dark:bg-gray-700 dark:text-gray-200"> <input type="email" required="required" id="_replyto" name="_replyto" 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" 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 type="submit" class="mt-4 p-2 bg-gray-600 text-gray-200 dark:bg-gray-200 dark:text-gray-600 font-bold rounded-full">Send</button> <button type="submit" class="mt-4 p-2 bg-gray-600 text-gray-200 dark:bg-gray-200 dark:text-gray-600 font-bold rounded-full">Send</button>
</form> </form>