Sha256: 38dc7f27501947c5a02438c828d725d8fc0b6f3a459dbd15bfac0aecce7e585f
Contents?: true
Size: 354 Bytes
Versions: 14
Compression:
Stored size: 354 Bytes
Contents
module Headmin module Filter class ConditionalView < ViewModel def selected @selected ? "+#{@selected.to_s.upcase}+" : nil end def values { "+AND+": I18n.t("headmin.filters.filter.conditional.and"), "+OR+": I18n.t("headmin.filters.filter.conditional.or") } end end end end
Version data entries
14 entries across 14 versions & 1 rubygems