Remove first and last name from newsletter subscription form

This commit is contained in:
Alex Cabal 2022-03-24 11:06:41 -05:00
parent 395d4d9f9b
commit 327d330f5b
2 changed files with 2 additions and 8 deletions

View file

@ -4,7 +4,7 @@
</p> </p>
<p> <p>
<a href="https://standardebooks.org"> <a href="https://standardebooks.org">
<img src="https://standardebooks.org/images/logo-small.png" alt="The Standard Ebooks logo"/> <img src="https://standardebooks.org/images/logo-small.png" alt="The Standard Ebooks logo."/>
</a> </a>
</p> </p>
</div> </div>

View file

@ -33,15 +33,9 @@ if($exception){
<label class="automation-test"><? /* Test for spam bots filling out all fields */ ?> <label class="automation-test"><? /* Test for spam bots filling out all fields */ ?>
<input type="text" name="automationtest" value="" maxlength="80" /> <input type="text" name="automationtest" value="" maxlength="80" />
</label> </label>
<label class="email">Email <label class="email">Your email address
<input type="email" name="email" value="<?= Formatter::ToPlainText($subscriber->Email) ?>" maxlength="80" required="required" /> <input type="email" name="email" value="<?= Formatter::ToPlainText($subscriber->Email) ?>" maxlength="80" required="required" />
</label> </label>
<label class="text">First name
<input type="text" name="firstname" autocomplete="given-name" maxlength="80" value="<?= Formatter::ToPlainText($subscriber->FirstName) ?>" />
</label>
<label class="text">Last name
<input type="text" name="lastname" autocomplete="family-name" maxlength="80" value="<?= Formatter::ToPlainText($subscriber->LastName) ?>" />
</label>
<label class="captcha"> <label class="captcha">
Type the letters in the image Type the letters in the image
<div> <div>