forked from e621ng/e621ng
14 lines
325 B
Ruby
14 lines
325 B
Ruby
# frozen_string_literal: true
|
|
|
|
# This behaves just like the inherited input, but adds
|
|
# a css class for custom styling. Nothing more, nothing less.
|
|
class ButtonSelectInput < SimpleForm::Inputs::CollectionRadioButtonsInput
|
|
def input_type
|
|
"radio_buttons"
|
|
end
|
|
|
|
def input_class
|
|
"collection-radio-buttons"
|
|
end
|
|
end
|