Created
June 10, 2019 13:46
-
-
Save bondarolik/24f9ed1b142825feea23852626320484 to your computer and use it in GitHub Desktop.
SimpleForms select with boolean and custom label
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
= f.input :got_franch, label: false, as: :select, required: true, input_html: {class: "js-select2 selector default-input-contact b-gray f-13", data: {placeholder: ("")}} | |
= f.input :got_franch, as: :select, | |
collection: [ ['Si', true], ['No', false] ], | |
label: false, | |
required: false | |
input_html: { | |
class: "js-select2 selector default-input-contact b-gray f-13" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment