Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accept block for link generator helper methods #153

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

danschultzer
Copy link
Collaborator

Resolves #151

Since do block runs before it's passed to the method there is no way of rewriting PowAssent.Phoenix.ViewHelpers.provider_links/2. I don't know if this is the right approach. My general feeling is that this should be solved with pure CSS, or writing out the provider links logic manually.

The view helpers provider very little extra functionality, so it might be best to just direct devs to write them out in their own view modules.

@danschultzer danschultzer force-pushed the pass-block-link-generator branch 2 times, most recently from 1eb5402 to cb791f3 Compare May 24, 2020 22:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support do ... end block in view helper
1 participant