Add for in labels to get rid of pesky warning
This commit is contained in:
parent
a48a2c7f7e
commit
2966a6f158
@ -101,17 +101,17 @@
|
|||||||
<form class="bg-light border shadow p-4" on:submit|preventDefault={handleSubmit}>
|
<form class="bg-light border shadow p-4" on:submit|preventDefault={handleSubmit}>
|
||||||
<div class="row mb-2">
|
<div class="row mb-2">
|
||||||
<div class="form-group col-md-6">
|
<div class="form-group col-md-6">
|
||||||
<label>Email *</label>
|
<label for="email">Email *</label>
|
||||||
<input type="email" class="form-control" bind:value={submission.email} placeholder="johnnyappleseed@example.com" required>
|
<input id="email" type="email" class="form-control" bind:value={submission.email} placeholder="johnnyappleseed@example.com" required>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group col-md-6">
|
<div class="form-group col-md-6">
|
||||||
<label>Name *</label>
|
<label for="name">Name *</label>
|
||||||
<input type="text" class="form-control" bind:value={submission.name} placeholder="Johnny Appleseed" required>
|
<input id="name" type="text" class="form-control" bind:value={submission.name} placeholder="Johnny Appleseed" required>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label>Message *</label>
|
<label for="message">Message *</label>
|
||||||
<textarea class="form-control" bind:value={submission.message} rows="3" placeholder="Hello! I would like to schedule a free 15-minute consultation..." required></textarea>
|
<textarea id="message" class="form-control" bind:value={submission.message} rows="3" placeholder="Hello! I would like to schedule a free 15-minute consultation..." required></textarea>
|
||||||
</div>
|
</div>
|
||||||
<div class="pt-2">
|
<div class="pt-2">
|
||||||
<HCaptcha
|
<HCaptcha
|
||||||
|
Loading…
Reference in New Issue
Block a user