Sha256: 5634acd18fdf4fb69bf00afe079529baa45d175d71bb8700a2b882a6a65a2d94
Contents?: true
Size: 873 Bytes
Versions: 12
Compression:
Stored size: 873 Bytes
Contents
require_relative '../helpers/indented_grid' Coprl::Presenters.define(:multi_selects) do helpers Demo::Helpers::IndentedGrid attach :top_nav attach :component_drawer page_title 'Multi Select Fields' indented_grid do content do multi_select do label 'Multi Select Field' check_option value: 'value1', text: 'First value', selected: true check_option value: 'value2', text: 'Second value', selected: true check_option value: 'value3', text: 'Third value', selected: true end multi_select do label 'One Selection' check_option value: 'value1', text: 'First value', selected: true check_option value: 'value2', text: 'Second value', selected: false check_option value: 'value3', text: 'Third value', selected: false end end attach :code, file: __FILE__ end end
Version data entries
12 entries across 12 versions & 1 rubygems