Sha256: 0186117c378121d6687af8a7d6fb95943c1baff375ca8bccf56292a014dd0b8d
Contents?: true
Size: 1.62 KB
Versions: 1
Compression:
Stored size: 1.62 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 Spree.t(:'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 Spree.t(:'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 Spree.t(:'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 Spree.t(:'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.0 | app/views/spree/admin/newsletters/_form.html.erb |