Sha256: c642d52f650416a785b191540b44826f7db39678a581a59379d63ed966fea3c2
Contents?: true
Size: 822 Bytes
Versions: 35
Compression:
Stored size: 822 Bytes
Contents
-# frozen_string_literal: true -if item_radio_check_scale_options.score_header != :none .options - item_radio_check_scale_options.options.each_with_index do |option, idx| -#TODO: if a hidden option is checked it should get its own new scale header - next if (option.inner_title or option.hidden) - cls = ['scaleheader'] - cls << "first" if idx <= 0 - cls << "last" if idx >= (item_radio_check_scale_options.options.size - 1) - cls << "optionwidth#{item_radio_check_scale_options.options.size}" .option{:title=> raw(option.description), :class => cls} = raw cycle("<br/>", "", :name => "headbr" ) - case item_radio_check_scale_options.score_header - when :value = option.value - when :description = raw option.description
Version data entries
35 entries across 35 versions & 1 rubygems