Sha256: 6ee0fbc70ab10ac85d8ab98c02a9371ccd5603b021531b5316828cd3caad7b41
Contents?: true
Size: 1.52 KB
Versions: 23
Compression:
Stored size: 1.52 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' = label_tag 'radio_button_control_radio1', 'Radio 1' = radio_button_tag 'radio_button_control', 'radio1' = label_tag 'radio_button_control_radio2', 'Radio 2' = radio_button_tag 'radio_button_control', 'radio2'
Version data entries
23 entries across 23 versions & 1 rubygems