lbry.com/view/template/mail/_subscribeForm.php
2016-10-22 01:15:09 -04:00

14 lines
No EOL
611 B
PHP

<?php $error = $error ?? null ?>
<form action="/list/subscribe" method="POST" novalidate>
<?php if ($error): ?>
<div class="notice notice-error spacer1"><?php echo $error ?></div>
<?php endif ?>
<div class="mail-submit">
<input type="hidden" name="returnUrl" value="<?php echo $returnUrl ?>"/>
<input type="email" name="email" class="required email standard" placeholder="{{email.placeholder}}">
<input type="submit" value="<?php echo $submitLabel ?? __('email.subs') ?>" name="subscribe" class="<?php echo $btnClass ?>">
<div class="meta">{{email.disclaimer}}</div>
</div>
</form>