formwandler

Create form objects for multiple models, dynamically mark fields as hidden or disabled and even hide select options dynamically


License
MIT
Install
gem install formwandler -v 0.3.1

Documentation

Please note that this gem is work in progress. The API is to be considered highly unstable until version 1.0.0 is reached.

formwandler

This gem was created to encapsulate logic about forms. Information about which fields a form has (optionally depending on the current state, e.g. logged in user) is specified in the form class and field values can be delegated to models.

ToDo

  • Complete the specs