Sha256: cd80690a6a9c9baefd022aae0d0b51601832f7f05013c1caff2941dd2933f39e
Contents?: true
Size: 974 Bytes
Versions: 6
Compression:
Stored size: 974 Bytes
Contents
<% content_for :page_title do %> <%= Spree.t(:correios_shipping_settings) %> <% end %> <%= render 'spree/admin/shared/correios_tabs', current: 'Correios Settings' %> <%= form_tag admin_correios_shipping_settings_path, :method => :put do %> <fieldset class="no-border-top"> <div data-hook="admin_correios_shipping_settings_form_fields"> <div class="row"> <div class="col-md-12" data-hook="preferences_fields"> <% @preferences.each do |key| type = @config.preference_type(key) %> <%= label_tag(key, t(key, scope: :correios_shipping) + ': ') + tag(:br) if type != :boolean %> <%= preference_field_tag(key,@config[key], :type => type) %> <%= label_tag(key, t(key, scope: :correios_shipping)) + tag(:br) if type == :boolean %> <% end %> </div> </div> </fieldset> <div class="form-actions" data-hook="buttons"> <%= button Spree.t('actions.update') %> </div> <% end %>
Version data entries
6 entries across 6 versions & 1 rubygems