<%= form_for :newsletters, url: newsletters_path, method: :post do |f| %>
<%= SolidusNewsletter::Config[:text].html_safe %>
>
<%= f.text_field :name,
class: 'required fullwidth',
placeholder: I18n.t('spree.newsletter.form.name') %>
>
<%= f.email_field :email,
class: 'required fullwidth',
placeholder: I18n.t('spree.newsletter.form.email') %>
<%= f.submit I18n.t('spree.newsletter.form.button'),
class: 'newsletter-btn border-rounded small-text' %>
<% end %>