Sha256: 27510bc43a56408ba11fd34bc2dfc07c24865ff6460625ea2f8fb93142787253

Contents?: true

Size: 986 Bytes

Versions: 1

Compression:

Stored size: 986 Bytes

Contents

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

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

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

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

      <div class='col-md-3  col-sm-6 form-buttons'>
        <%= f.submit Spree.t(:'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.0 app/views/spree/shared/_newsletter.html.erb