Closed viamin closed 6 months ago
Adds a :partial_name option which allows using a differently named partial.
:partial_name
Usage:
link_to_add_association "Add a new task", f, :tasks, partial_name: "task_dropdown"
which will use the _task_dropdown.html.erb partial instead of the default _task_fields.html.erb
_task_dropdown.html.erb
_task_fields.html.erb
That's a good change. Thank you!
Adds a
:partial_name
option which allows using a differently named partial.Usage:
link_to_add_association "Add a new task", f, :tasks, partial_name: "task_dropdown"
which will use the
_task_dropdown.html.erb
partial instead of the default_task_fields.html.erb