af83/chouette-core

View on GitHub
app/inputs/toggable_password_input.rb

Summary

Maintainability
A
0 mins
Test Coverage
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