13 lines
194 B
Ruby
13 lines
194 B
Ruby
class Champs::YesNoChamp < Champs::BooleanChamp
|
|
def yes_input_id
|
|
"#{input_id}-yes"
|
|
end
|
|
|
|
def no_input_id
|
|
"#{input_id}-no"
|
|
end
|
|
|
|
def focusable_input_id
|
|
yes_input_id
|
|
end
|
|
end
|