Sha256: e211d6f712e130d67c2f529bca833049b61000cfcac85209afd8c7f3980b898b
Contents?: true
Size: 377 Bytes
Versions: 46
Compression:
Stored size: 377 Bytes
Contents
module Backend module DropdownHelper def options_for_content_types Udongo.config.flexible_content.types.map do |content_type| [I18n.t("b.msg.content_types.#{content_type}"), "Content#{content_type.to_s.camelcase}"] end end def options_for_column_widths (1..12).to_a.reverse.map do |i| ["#{i}/12", i] end end end end
Version data entries
46 entries across 46 versions & 1 rubygems