Sha256: 55f253eace4a5308ff7dd1d3dbaa39b8fcb305d6c8d8dedddde15dc74dbd6a9b

Contents?: true

Size: 365 Bytes

Versions: 28

Compression:

Stored size: 365 Bytes

Contents

module Spree
  module Admin
    module ZonesHelper
      def country_checked
        return object.kind == "country" ? "checked = 'true'" : ""
      end
      def state_checked
        return object.kind == "state" ? "checked = 'true'" : ""
      end
      def zone_checked
        return object.kind == "zone" ? "checked = 'true'" : ""
      end
    end
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
spree_core-1.2.5 app/helpers/spree/admin/zones_helper.rb
spree_core-1.1.6 app/helpers/spree/admin/zones_helper.rb
spree_core-1.1.5 app/helpers/spree/admin/zones_helper.rb
spree_core-1.2.4 app/helpers/spree/admin/zones_helper.rb
spree_core-1.0.7 app/helpers/spree/admin/zones_helper.rb
spree_core-1.2.3 app/helpers/spree/admin/zones_helper.rb
spree_core-1.2.2 app/helpers/spree/admin/zones_helper.rb
spree_core-1.1.4 app/helpers/spree/admin/zones_helper.rb
spree_core-1.2.0 app/helpers/spree/admin/zones_helper.rb
spree_core-1.2.0.rc2 app/helpers/spree/admin/zones_helper.rb
spree_core-1.2.0.rc1 app/helpers/spree/admin/zones_helper.rb
spree_core-1.1.3 app/helpers/spree/admin/zones_helper.rb
spree_core-1.0.6 app/helpers/spree/admin/zones_helper.rb
spree_core-1.1.2 app/helpers/spree/admin/zones_helper.rb
spree_core-1.1.2.rc1 app/helpers/spree/admin/zones_helper.rb
spree_core-1.1.1 app/helpers/spree/admin/zones_helper.rb
spree_core-1.1.0 app/helpers/spree/admin/zones_helper.rb
spree_core-1.0.4 app/helpers/spree/admin/zones_helper.rb
spree_core-1.1.0.rc2 app/helpers/spree/admin/zones_helper.rb
spree_core-1.1.0.rc1 app/helpers/spree/admin/zones_helper.rb