Sha256: d7593c5b7a5b9a281fb81f120b2e386baa2b2c353a537af88fc825ad4a9d912d
Contents?: true
Size: 527 Bytes
Versions: 6
Compression:
Stored size: 527 Bytes
Contents
format :html do def board_rule_set_selection wrap_with :div, class: "set-list _set-editor" do board_rule_set_formgroup end end def board_rule_set_formgroup tag = @rule_context.rule_user_setting_name narrower = [] wrap_with :div, class: "col-xs-6 mt-3 mb-5" do rule_set_options.reverse.map do |set_name, state| RuleSetRadio.new(self, set_name, tag, state).html narrower end end end def rule_set_options @rule_set_options ||= @rule_context.set_options end end
Version data entries
6 entries across 6 versions & 1 rubygems