<%= render partial: 'layouts/camaleon_cms/admin/form_error', locals: {data: @shipping_method} %>
<%= f.label t('plugins.ecommerce.table.name') %>
<%= f.text_field :name, :class => "form-control required" %>
<%= f.label t('camaleon_cms.admin.table.description') %>
<%= f.text_area :description, :class => "form-control translatable", :rows => 4 %>
<% options = @shipping_method.options rescue {url_tracking: 'http://trackingurl.com/track/{{consignment_number}}'}
options = params[:options] if params[:options].present?
%>
<%= text_field_tag( "options[url_tracking]", options[:url_tracking], class: "form-control required") %>
<%= t('plugins.ecommerce.message.consignment_number') %>
<% end %>