Skip to content
This repository has been archived by the owner on Dec 12, 2021. It is now read-only.

Added posibility specify helper for link_to_add and link_to_remove #240

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

timfjord
Copy link

Sometimes we need specify tag that link_to_add or link_to_remove generated.
So i have added posibility to specify :helper options to choose view helper that generate link

= f.link_to_add 'Add new task', :tasks, helper: :button_tag

@timfjord
Copy link
Author

If you find it useful i will add specs

@cis-shraddha
Copy link

my link to remove is not working

@timfjord
Copy link
Author

@cis-shraddha, can you please paste code example

@timfjord
Copy link
Author

@ryanb Can you please provide some feedback on this? Thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants