Sha256: ad778e69bae41036440cf4b55ae17ef71e212edcb6c9c3160463324a6b9a4cac

Contents?: true

Size: 1.51 KB

Versions: 12

Compression:

Stored size: 1.51 KB

Contents

<div class="card mb-4">
  <div class="card-header">
    <h5 class="card-title mb-0 h6">
      <%= Spree.t(:email).pluralize %>
    </h5>
  </div>
  <div class="card-body">
    <%= f.field_container :mail_from_address do %>
      <%= f.label :mail_from_address, raw(Spree.t(:mail_from_address)  + required_span_tag) %>
      <%= f.text_field :mail_from_address, class: 'form-control', required: true %>
      <%= f.error_message_on :mail_from_address %>
      <small class="form-text text-muted">
        <%= Spree.t('admin.store_form.mail_from_address_help') %>
      </small>
    <% end %>

    <% if @store.persisted? %>
      <%= f.field_container :customer_support_email do %>
        <%= f.label :customer_support_email, Spree.t(:customer_support_email) %>
        <%= f.text_field :customer_support_email, class: 'form-control' %>
        <%= f.error_message_on :customer_support_email %>
        <small class="form-text text-muted">
          <%= Spree.t('admin.store_form.customer_support_email_help') %>
        </small>
      <% end %>

      <%= f.field_container :new_order_notifications_email do %>
        <%= f.label :new_order_notifications_email, Spree.t(:new_order_notifications_email) %>
        <%= f.text_field :new_order_notifications_email, class: 'form-control' %>
        <%= f.error_message_on :new_order_notifications_email %>
        <small class="form-text text-muted">
          <%= Spree.t('admin.store_form.new_order_notifications_email_help') %>
        </small>
      <% end %>
    <% end %>
  </div>
</div>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
spree_backend-4.8.4 app/views/spree/admin/stores/form/_emails.html.erb
spree_backend-4.8.3 app/views/spree/admin/stores/form/_emails.html.erb
spree_backend-4.8.2 app/views/spree/admin/stores/form/_emails.html.erb
spree_backend-4.8.1 app/views/spree/admin/stores/form/_emails.html.erb
spree_backend-4.7.2 app/views/spree/admin/stores/form/_emails.html.erb
spree_backend-4.6.2 app/views/spree/admin/stores/form/_emails.html.erb
spree_backend-4.7.1 app/views/spree/admin/stores/form/_emails.html.erb
spree_backend-4.7.0 app/views/spree/admin/stores/form/_emails.html.erb
spree_backend-4.6.1 app/views/spree/admin/stores/form/_emails.html.erb
spree_backend-4.6.0 app/views/spree/admin/stores/form/_emails.html.erb
spree_backend-4.5.1 app/views/spree/admin/stores/form/_emails.html.erb
spree_backend-4.5.0 app/views/spree/admin/stores/form/_emails.html.erb