Sha256: ba233895f6c67d75d065d88b9e11ef15c7bb9740b78528a7aecab58e9f1833d4
Contents?: true
Size: 552 Bytes
Versions: 16
Compression:
Stored size: 552 Bytes
Contents
module DmEvent::RegistrationsHelper #------------------------------------------------------------------------------ def price_details(workshop_price) render :partial => 'dm_event/registrations/workshop_price', :object => workshop_price end #------------------------------------------------------------------------------ def status_label(text, state = :plain, with_icon = true) icons = { acceptedx: 'icon-thumbs-up' }.freeze icon = icons[state.to_sym] colored_label(icon_label(icon, text, :color => '#fff'), state) end end
Version data entries
16 entries across 16 versions & 1 rubygems