Sha256: b78cf6c02c23ee7545ececae64b702eb8aae4af4447362f3d1f495aa6eaf2168
Contents?: true
Size: 928 Bytes
Versions: 8
Compression:
Stored size: 928 Bytes
Contents
<div data-hook="admin_shipping_method_form_fields"> <%= f.field_container :name do %> <%= f.label :name, t(:name) %><br /> <%= f.text_field :name %> <%= error_message_on :shipping_method, :name %> <% end %> <%= f.field_container :zone_id do %> <%= f.label :zone_id, t(:zone) %><br /> <%= f.collection_select(:zone_id, @available_zones, :id, :name, {}, {'style' => 'width:200px;'}) %> <%= error_message_on :shipping_method, :zone_id %> <% end %> <%= f.field_container :display_on do %> <%= f.label :display_on, t(:display) %><br /> <%= select(:shipping_method, :display_on, ShippingMethod::DISPLAY.collect {|display| [t(display), display == :both ? nil : display.to_s]}) %> <%= error_message_on :shipping_method, :display_on %> <% end %> </div> <div data-hook="admin_shipping_method_form_calculator_fields"> <%= render 'admin/shared/calculator_fields', :f => f %> </div>
Version data entries
8 entries across 8 versions & 1 rubygems