<%= f.field_container :name do %>
<%= f.label :name %>
<%= f.text_field :name, class: 'fullwidth' %>
<%= error_message_on :shipping_method, :name %>
<% end %>
<%= f.field_container :admin_name do %>
<%= f.label :admin_name %>
<%= f.text_field :admin_name, class: 'fullwidth', label: false %>
<%= error_message_on :shipping_method, :admin_name %>
<% end %>
<%= f.field_container :code do %>
<%= f.label :code %>
<%= f.text_field :code, class: 'fullwidth', label: false %>
<%= error_message_on :shipping_method, :code %>
<% end %>
<%= f.field_container :carrier do %>
<%= f.label :carrier %>
<%= f.text_field :carrier, class: 'fullwidth', label: false %>
<%= error_message_on :shipping_method, :carrier %>
<% end %>
<%= f.field_container :service_level do %>
<%= f.label :service_level %>
<%= f.text_field :service_level, class: 'fullwidth', label: false %>
<%= error_message_on :shipping_method, :service_level %>
<% end %>
<%= f.field_container :tracking_url do %>
<%= f.label :tracking_url %>
<%= f.text_field :tracking_url, class: 'fullwidth', placeholder: Spree.t(:tracking_url_placeholder) %>
<%= error_message_on :shipping_method, :tracking_url %>
<% end %>
<%= f.field_container :available_to_users do %>
<%= f.check_box(:available_to_users) %>
<%= f.label :available_to_users %>
<%= error_message_on :shipping_method, :available_to_users %>
<% end %>
<%= render partial: 'spree/admin/shared/calculator_fields', locals: { f: f } %>