remove redundant d-none utilities

This commit is contained in:
David Miller 2021-06-03 17:31:57 -04:00
parent 053c78b6f3
commit 4b3f77328e
2 changed files with 8 additions and 8 deletions

8
dist/index.html vendored
View File

@ -329,20 +329,20 @@
<div class="form-group"> <div class="form-group">
<!-- Email address input--> <!-- Email address input-->
<input class="form-control" id="email" type="email" placeholder="Your Email *" data-sb-validations="required,email" /> <input class="form-control" id="email" type="email" placeholder="Your Email *" data-sb-validations="required,email" />
<div class="invalid-feedback d-none" data-sb-feedback="email:required">An email is required.</div> <div class="invalid-feedback" data-sb-feedback="email:required">An email is required.</div>
<div class="invalid-feedback d-none" data-sb-feedback="email:email">Email is not valid.</div> <div class="invalid-feedback" data-sb-feedback="email:email">Email is not valid.</div>
</div> </div>
<div class="form-group mb-md-0"> <div class="form-group mb-md-0">
<!-- Phone number input--> <!-- Phone number input-->
<input class="form-control" id="phone" type="tel" placeholder="Your Phone *" data-sb-validations="required" /> <input class="form-control" id="phone" type="tel" placeholder="Your Phone *" data-sb-validations="required" />
<div class="invalid-feedback d-none" data-sb-feedback="phone:required">A phone number is required.</div> <div class="invalid-feedback" data-sb-feedback="phone:required">A phone number is required.</div>
</div> </div>
</div> </div>
<div class="col-md-6"> <div class="col-md-6">
<div class="form-group form-group-textarea mb-md-0"> <div class="form-group form-group-textarea mb-md-0">
<!-- Message input--> <!-- Message input-->
<textarea class="form-control" id="message" placeholder="Your Message *" data-sb-validations="required"></textarea> <textarea class="form-control" id="message" placeholder="Your Message *" data-sb-validations="required"></textarea>
<div class="invalid-feedback d-none" data-sb-feedback="message:required">A message is required.</div> <div class="invalid-feedback" data-sb-feedback="message:required">A message is required.</div>
</div> </div>
</div> </div>
</div> </div>

View File

@ -309,9 +309,9 @@ html(lang='en')
placeholder='Your Email *', placeholder='Your Email *',
data-sb-validations='required,email' data-sb-validations='required,email'
) )
.invalid-feedback.d-none(data-sb-feedback='email:required') .invalid-feedback(data-sb-feedback='email:required')
| An email is required. | An email is required.
.invalid-feedback.d-none(data-sb-feedback='email:email') .invalid-feedback(data-sb-feedback='email:email')
| Email is not valid. | Email is not valid.
.form-group.mb-md-0 .form-group.mb-md-0
@ -322,7 +322,7 @@ html(lang='en')
placeholder='Your Phone *', placeholder='Your Phone *',
data-sb-validations='required' data-sb-validations='required'
) )
.invalid-feedback.d-none(data-sb-feedback='phone:required') .invalid-feedback(data-sb-feedback='phone:required')
| A phone number is required. | A phone number is required.
.col-md-6 .col-md-6
@ -333,7 +333,7 @@ html(lang='en')
placeholder='Your Message *', placeholder='Your Message *',
data-sb-validations='required' data-sb-validations='required'
) )
.invalid-feedback.d-none(data-sb-feedback='message:required') .invalid-feedback(data-sb-feedback='message:required')
| A message is required. | A message is required.
// Submit success message // Submit success message