Sha256: 58475332448f246ef654595b2433797de096e2c920accb2c9066b192ffa48169
Contents?: true
Size: 1.31 KB
Versions: 19
Compression:
Stored size: 1.31 KB
Contents
= form_tag do = label_tag 'text_control', 'Text control' = text_field_tag 'text_control', 'Text control value' = label_tag 'select_control', 'Select control' = select_tag 'select_control', options_for_select([['Label 1', 'value1'], ['Label 2', 'value2'], ['Label 3', 'value3']], 'value2') = label_tag 'select_control_without_selection', 'Select control without selection' = select_tag 'select_control_without_selection', options_for_select([['Label 1', 'value1'], ['Label 2', 'value2'], ['Label 3', 'value3']]) =# This select has a blank first option, but it is not selected = label_tag 'select_control_with_blank_option', 'Select control with blank option' = select_tag 'select_control_with_blank_option', options_for_select([['', ''], ['Label 1', 'label1'], ['Label 2', 'label2'], ['Label 3', 'value3']]) =# This select has a blank first option that is also selected = label_tag 'select_control_with_blank_selection', 'Select control with blank selection' = select_tag 'select_control_with_blank_selection', options_for_select([['', ''], ['Label 1', 'label1'], ['Label 2', 'label2'], ['Label 3', 'value3']], '') = label_tag 'textarea_control', 'Textarea control' = text_area_tag 'textarea_control', 'Textarea control value' = label_tag 'empty_control', 'Empty control' = text_field_tag 'empty_control'
Version data entries
19 entries across 19 versions & 1 rubygems