Sha256: 648422934b051d7a5588f95710cd87b034a9ffd33bea816f706a47e90896394b
Contents?: true
Size: 1.63 KB
Versions: 1
Compression:
Stored size: 1.63 KB
Contents
<% if SolidusSupport.solidus_gem_version < Gem::Version.new('2.4.x') %> <div class='alpha six columns'> <fieldset class='no-border-bottom'> <div class='field'> <%= f.field_container :title do %> <%= f.label I18n.t('spree.newsletter.title') %> <%= f.text_field :title, class: 'fullwidth', value: SolidusNewsletter::Config[:title] %> <%= f.error_message_on :title %> <% end %> </div> <div class='field'> <%= f.field_container :text do %> <%= f.label I18n.t('spree.newsletter.form.text') %> <%= f.text_field :text, class: 'fullwidth', value: SolidusNewsletter::Config[:text] %> <%= f.error_message_on :text %> <% end %> </div> </fieldset> </div> <% else %> <div class='row'> <div class='col-md-6'> <fieldset class='currency no-border-bottom'> <div class='field'> <%= f.field_container :title do %> <%= f.label I18n.t('spree.newsletter.form.title') %> <%= f.text_field :title, class: 'fullwidth', value: SolidusNewsletter::Config[:title] %> <%= f.error_message_on :title %> <% end %> </div> </fieldset> </div> <div class='col-md-6'> <fieldset class='currency no-border-bottom'> <div class='field'> <%= f.field_container :text do %> <%= f.label I18n.t('spree.newsletter.form.text') %> <%= f.text_field :text, class: 'fullwidth', value: SolidusNewsletter::Config[:text] %> <%= f.error_message_on :text %> <% end %> </div> </fieldset> </div> </div> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
solidus_newsletter-1.1 | app/views/spree/admin/newsletters/_form.html.erb |