mirror of
https://github.com/BeardedTek/flowbite-beardedtek.com.git
synced 2025-12-06 05:31:52 +00:00
add name field to inputs on contact form
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
<label for="first-name" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">
|
||||
First name
|
||||
</label>
|
||||
<input type="text" id="first-name"
|
||||
<input type="text" name="first-name" id="first-name"
|
||||
class="block w-full p-2.5 text-sm text-gray-900 border border-gray-300 rounded-lg bg-gray-50 focus:ring-primary-500 focus:border-primary-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-primary-500 dark:focus:border-primary-500"
|
||||
placeholder="Bonnie" required>
|
||||
</div>
|
||||
@@ -24,7 +24,7 @@
|
||||
<label for="last-name" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">
|
||||
Last name
|
||||
</label>
|
||||
<input type="text" id="last-name"
|
||||
<input type="text" name="last-name" id="last-name"
|
||||
class="block w-full p-2.5 text-sm text-gray-900 border border-gray-300 rounded-lg bg-gray-50 focus:ring-primary-500 focus:border-primary-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-primary-500 dark:focus:border-primary-500"
|
||||
placeholder="Green" required>
|
||||
</div>
|
||||
@@ -33,7 +33,7 @@
|
||||
<label for="email" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">
|
||||
Your email
|
||||
</label>
|
||||
<input type="email" id="email"
|
||||
<input type="email" name="email" id="email"
|
||||
class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-primary-500 focus:border-primary-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-primary-500 dark:focus:border-primary-500"
|
||||
placeholder="name@flowbite.com" required>
|
||||
</div>
|
||||
@@ -42,7 +42,7 @@
|
||||
<label for="phone-number" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">
|
||||
Phone number
|
||||
</label>
|
||||
<input type="number" id="phone-number"
|
||||
<input type="number" name="phone-number" id="phone-number"
|
||||
class="block w-full p-2.5 text-sm text-gray-900 border border-gray-300 rounded-lg bg-gray-50 focus:ring-primary-500 focus:border-primary-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-primary-500 dark:focus:border-primary-500"
|
||||
placeholder="(907) 123-4567" required>
|
||||
</div>
|
||||
@@ -51,7 +51,7 @@
|
||||
<label for="message" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">
|
||||
Your message
|
||||
</label>
|
||||
<textarea id="message" rows="6"
|
||||
<textarea name="message" id="message" rows="6"
|
||||
class="block p-2.5 w-full text-sm text-gray-900 bg-gray-50 rounded-lg border border-gray-300 focus:ring-primary-500 focus:border-primary-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-primary-500 dark:focus:border-primary-500"
|
||||
placeholder=""></textarea>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user