app/inputs/toggable_password_input.rb
class ToggablePasswordInput < SimpleForm::Inputs::Base
def input(wrapper_options)
merged_input_options = merge_wrapper_options(input_html_options, wrapper_options)
# TODO ... implements a toogle mechanism
@builder.password_field(attribute_name, merged_input_options)
end
end