<%= render 'spree/admin/shared/configuration_menu' %>

<% content_for :page_title do %>
  <%= Spree.t :brightpearl_settings  %>
<% end %>

<%= form_tag admin_brightpearl_path, :method => :put do %>
  <fieldset class="general no-border-top">
    <% @preferences.each do |key|
      type = Spree::Config.preference_type(key) %>
      <div class="field">
          <%= label_tag(key, Spree.t(key)) + tag(:br) if type != :boolean %>
          <%= preference_field_tag(key, Spree::Config[key], :type => type) %>
          <%= label_tag(key, Spree.t(key)) + tag(:br) if type == :boolean %>
      </div>
    <% end %>
    <br>
    <%= submit_tag  %>
  </fieldset>
<% end %>

<%= render 'spree/admin/shared/configuration_menu' %>

<% content_for :page_title do %>
  <%= Spree.t :brightpearl_settings  %>
<% end %>

<%= form_tag admin_brightpearl_path, method: :put do %>
  <fieldset class="general no-border-top">
    <% @preferences.each do |key|
      type = Spree::Config.preference_type(key) %>
      <div class="field">
          <%= label_tag(key, Spree.t(key)) + tag(:br) if type != :boolean %>
          <%= preference_field_tag(key, Spree::Config[key], :type => type) %>
          <%= label_tag(key, Spree.t(key)) + tag(:br) if type == :boolean %>
      </div>
    <% end %>
    <br>
    <%= submit_tag  %>
  </fieldset>
<% end %>

Change hash rocket syntax to the new one :D
Change hash rocket syntax to the new one :D
