Sha256: ed8242d7fadb7e95c179915b66e8c6a23ff54f5adb6778983c2c5b605eb7a091
Contents?: true
Size: 438 Bytes
Versions: 1
Compression:
Stored size: 438 Bytes
Contents
# frozen_string_literal: true class SunriseCountryPhone < Sunrise::AbstractModel self.resource_name = 'CountryPhone' available_index_views [:thumbs] index :thumbs do scope { CountryPhone.all } field :value field :default_locale field :sort_order end form do field :title field :value field :default_locale, as: :select, collection: -> { I18n.available_locales } field :sort_order end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
translation_cms-0.1.5 | app/sunrise/sunrise_country_phone.rb |