Sha256: ecd125dca37e72c10422a93e709ec1e92fb59860f6efcb1cfe3ffeb14886a1d9
Contents?: true
Size: 512 Bytes
Versions: 31
Compression:
Stored size: 512 Bytes
Contents
module Enjoy module Admin def self.map_config(is_active = true) Proc.new { active is_active label I18n.t('enjoy.map') field :address, :string field :map_address, :string field :map_hint, :string field :coordinates, :string do read_only true formatted_value{ bindings[:object].coordinates.to_json } end field :lat field :lon if block_given? yield self end } end end end
Version data entries
31 entries across 31 versions & 1 rubygems