Sha256: dec34c1513d7e2000d24444d3f14c733debb8b76014458a02e7e6406acc19bb4

Contents?: true

Size: 1.1 KB

Versions: 1

Compression:

Stored size: 1.1 KB

Contents

<section class='newsletter-section'>
  <h2 class='newsletter-section__title'>
    <%= SolidusNewsletter::Config[:title].html_safe %>
  </h2>

  <div class='newsletter-section__content row'>
    <%= form_for :newsletters, url: newsletters_path, method: :post do |f| %>
      <div class='field text col-md-3 col-sm-12 text-center'>
        <p><%= SolidusNewsletter::Config[:text].html_safe %></p>
      </div>

      <div class='field col-md-3 col-sm-6' id=<%= 'name' %>>
        <%= f.text_field :name,
                         class: 'required fullwidth',
                         placeholder: I18n.t('spree.newsletter.form.name') %>
      </div>

      <div class='field col-md-3 col-sm-6' id=<%= 'email' %>>
        <%= f.email_field :email,
                          class: 'required fullwidth',
                          placeholder: I18n.t('spree.newsletter.form.email') %>
      </div>

      <div class='col-md-3  col-sm-6 form-buttons'>
        <%= f.submit I18n.t('spree.newsletter.form.button'),
                     class: 'newsletter-btn border-rounded small-text' %>
      </div>
    <% end %>
  </div>
</section>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
solidus_newsletter-1.1 app/views/spree/shared/_newsletter.html.erb