Sha256: bc29dc2f29022bf213ebda73a65078a95493cef055279c2bb985c40b7d4fb862

Contents?: true

Size: 1.44 KB

Versions: 19

Compression:

Stored size: 1.44 KB

Contents

<div data-hook="admin_tracker_form_fields" class="row">
  <div class="col-xs-12 col-md-4" data-hook="analytics_engine">
    <%= f.field_container :engine, class: ["form-group"], "data-hook" => "analytics_engine" do %>
      <%= f.label :engine, Spree.t(:analytics_engine) %>
      <%= f.select :engine, Spree::Tracker.engines.keys.sort.map { |k| [k.humanize, k] }, {}, { class: 'select2' } %>
      <%= f.error_message_on :engine %>
    <% end %>
  </div>
  <div class="col-xs-12 col-md-8">
    <div data-hook="active" class="form-group">
      <%= label_tag nil, Spree.t(:active) %>
      <div class="radio">
        <%= label_tag :tracker_active_true do %>
          <%= radio_button(:tracker, :active, true) %>
          <%= Spree.t(:say_yes) %>
        <% end %>
      </div>
      <div class="radio">
        <%= label_tag :tracker_active_false do %>
          <%= radio_button(:tracker, :active, false) %>
          <%= Spree.t(:say_no) %>
        <% end %>
      </div>
    </div>
  </div>
  <div class="col-xs-12 col-md-4" data-hook="analytics_id">
    <%= f.field_container :analytics_id, class: ["form-group"], "data-hook" => "analytics_id" do %>
      <%= f.label :analytics_id, Spree.t(:google_analytics_id) %>
      <%= f.text_field :analytics_id, class: 'form-control' %>
      <%= f.error_message_on :analytics_id %>
    <% end %>
  </div>
  <div data-hook="additional_tracker_fields"></div>
</div>
<div data-hook="admin_tracker_form_fields" class="row">
</div>

Version data entries

19 entries across 19 versions & 2 rubygems

Version Path
spree_backend-3.4.6 app/views/spree/admin/trackers/_form.html.erb
spree_analytics_trackers-1.0.1 app/views/spree/admin/trackers/_form.html.erb
spree_backend-3.3.6 app/views/spree/admin/trackers/_form.html.erb
spree_backend-3.4.5 app/views/spree/admin/trackers/_form.html.erb
spree_backend-3.3.5 app/views/spree/admin/trackers/_form.html.erb
spree_backend-3.4.4 app/views/spree/admin/trackers/_form.html.erb
spree_backend-3.4.3 app/views/spree/admin/trackers/_form.html.erb
spree_backend-3.3.4 app/views/spree/admin/trackers/_form.html.erb
spree_backend-3.4.2 app/views/spree/admin/trackers/_form.html.erb
spree_backend-3.3.3 app/views/spree/admin/trackers/_form.html.erb
spree_backend-3.4.1 app/views/spree/admin/trackers/_form.html.erb
spree_backend-3.4.0 app/views/spree/admin/trackers/_form.html.erb
spree_backend-3.4.0.rc2 app/views/spree/admin/trackers/_form.html.erb
spree_backend-3.4.0.rc1 app/views/spree/admin/trackers/_form.html.erb
spree_backend-3.3.2 app/views/spree/admin/trackers/_form.html.erb
spree_backend-3.3.1 app/views/spree/admin/trackers/_form.html.erb
spree_backend-3.3.0 app/views/spree/admin/trackers/_form.html.erb
spree_backend-3.3.0.rc4 app/views/spree/admin/trackers/_form.html.erb
spree_backend-3.3.0.rc3 app/views/spree/admin/trackers/_form.html.erb