<?php
/**
 * Copyright © 2016 Magento. All rights reserved.
 * See COPYING.txt for license details.
 */
// @codingStandardsIgnoreFile
?>
<div class="block newsletter">
    <h4 class="title text-right"><?php /* @escapeNotVerified */ echo __('Sign Up for Our Newsletter') ?></h4>
    <div class="content">
        <form class="form subscribe form-inline justify-content-end"
              novalidate
              action="<?php /* @escapeNotVerified */ echo $block->getFormActionUrl() ?>"
              method="post"
              data-mage-init='{"validation": {"errorClass": "mage-error"}}'
              id="newsletter-validate-detail">
            <div class="field newsletter">
                <div class="input-group input-group-sm">
                    <div class="input-group-prepend">
                        <div class="input-group-text"><i class="fal fa-envelope"></i></div>
                    </div>
                    <input name="email" type="email" id="newsletter" class="form-control"
                           placeholder="<?php /* @escapeNotVerified */ echo __('Enter your email address') ?>"
                           data-validate="{required:true, 'validate-email':true}"/>
                    <div class="input-group-append">
                        <button class="action subscribe primary btn btn-primary" title="<?php /* @escapeNotVerified */ echo __('Subscribe') ?>" type="submit">
                            <?php /* @escapeNotVerified */ echo __('Subscribe') ?>
                        </button>
                    </div>
                </div>
            </div>
        </form>
    </div>
</div>
