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