can anyone help or point me in the right direction?:
I have a number of asset_types.
When I create a new asset (which belongs_to an asset_type), I want the
form to be specific to an asset_type (e.g. labels on the form will be
different).
How is best to solve this?
-
either -> when creating a new asset, have a select box for the user
to select the asset_type and then have the form auto-update (with ajax
ideally). -
or is it possible to have separate routes for each asset_type (using
separate controllers?)
Chris