Sha256: b24290b25506504f6d4a1394fd8e1fbce1574adbaad8094c7886cc7b9a79794a

Contents?: true

Size: 1.72 KB

Versions: 2

Compression:

Stored size: 1.72 KB

Contents

<%= render :partial => "spree/admin/bronto_lists/retrieve_lists", :formats => :js %>

    <%= f.field_container :title do %>
    <%= f.label :title, Spree.t("bronto.title") %> <span class="required">*</span><br />
    <%= f.text_field :title, :class => 'fullwidth title'  %>
    <%= f.error_message_on :title %>
  <% end %>

  <div id="lists">
    <%= f.field_container :list_id do %>
      <%= f.label :list_id, Spree.t("bronto.list_id") %> <span class="required">*</span><br />
      <%= f.text_field :list_id %>
      <%= button_tag Spree.t("bronto.retrieve_from_bronto"), :id => "retrieve_bronto_list", :type => "button" %>
      <%= f.error_message_on :list_id %>
    <% end %>
  </div>

  <%= f.field_container :visible do %>
    <%= f.label :visible, Spree.t("bronto.visible") %> <span class="required">*</span><br />

      <%= f.radio_button(:visible, true ) %>
      <%= Spree.t("yes") %>

      <%= f.radio_button(:visible, false ) %>
      <%= Spree.t("no") %>

      <%= f.error_message_on :visible %>
  <% end %>

  <%= f.field_container :subscribe_all_new_users do %>
    <%= f.label :subscribe_all_new_users, Spree.t("bronto.subscribe_all_new_users") %> <span class="required">*</span><br />

      <%= f.radio_button(:subscribe_all_new_users, true ) %>
      <%= Spree.t("yes") %>

      <%= f.radio_button(:subscribe_all_new_users, false ) %>
      <%= Spree.t("no") %>

      <%= f.error_message_on :subscribe_all_new_users %>
  <% end %>


  <%= f.field_container :store_id do %>
      <%= f.label :store_id, Spree.t("bronto.store_id") %> <span class="required">*</span><br />

      <%= f.collection_select :store_id, @stores, :id, :name, {}, { :multiple => false, :class => "select2" } %>

      <%= f.error_message_on :store_id %>
  <% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spree_bronto-3.pre.0.pre.stable app/views/spree/admin/bronto_lists/_form.html.erb
spree_bronto-3.0.0 app/views/spree/admin/bronto_lists/_form.html.erb