app/views/spree/admin/trackers/_form.html.erb in spree_backend-2.3.13 vs app/views/spree/admin/trackers/_form.html.erb in spree_backend-2.4.0.rc1
- old
+ new
@@ -1,28 +1,28 @@
<div data-hook="admin_tracker_form_fields" class="row">
<div class="alpha four columns">
<div data-hook="analytics_id" class="field">
- <%= label_tag nil, Spree.t(:google_analytics_id) %>
+ <%= label_tag :tracker_analytics_id, Spree.t(:google_analytics_id) %>
<%= text_field :tracker, :analytics_id, :class => 'fullwidth' %>
</div>
</div>
<div class="four columns">
<div data-hook="environment" class="field">
- <%= label_tag nil, Spree.t(:environment) %>
+ <%= label_tag :tracker_environment, Spree.t(:environment) %>
<%= collection_select(:tracker, :environment, rails_environments, :to_s, :titleize, {}, {:id => 'tracker-env', :class => 'select2 fullwidth'}) %>
</div>
</div>
<div class="omega four columns">
<div data-hook="active" class="field">
<%= label_tag nil, Spree.t(:active) %>
<ul>
<li>
<%= radio_button(:tracker, :active, true) %>
- <%= Spree.t(:say_yes) %>
+ <%= label_tag :tracker_active_true, Spree.t(:say_yes) %>
</li>
<li>
<%= radio_button(:tracker, :active, false) %>
- <%= Spree.t(:say_no) %>
+ <%= label_tag :tracker_active_false, Spree.t(:say_no) %>
</li>
</ul>
</div>
</div>