Skip to content

Commit

Permalink
fix: incorrect appearance of email fields (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
malinkytta authored Jan 24, 2024
1 parent 9ddccd4 commit e4f8562
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions templates/form.php
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,7 @@ class="c-textarea--label"><?php _e("What do you want to give feedback on?", 'cus

</div>

<div class="customer-feedback-comment-email u-margin__top--4" style="display: none;">

<div class="customer-feedback-comment-email u-margin__top--4 c-field" style="display: none;">
<!-- Email -->
<label
for="customer-feedback-comment-email-<?php echo $num; ?>"
Expand All @@ -160,15 +159,13 @@ class="c-typography c-typography__variant--h3">
</p>

<!-- Email input -->
<div class="c-field c-field__text">
<div class="c-field__inner c-field__inner--email">
<input
placeholder="<?php _e("Enter your email.", 'customer-feedback'); ?>"
type="email"
id="customer-feedback-comment-email-<?php echo $num; ?>"
name="customer-feedback-comment-email"
value="<?php echo $userEmail; ?>">
<label
class="c-field__text--label"><?php _e("Enter your email.", 'customer-feedback'); ?></label>
</div>

</div>
Expand Down

0 comments on commit e4f8562

Please sign in to comment.