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

ErrorExtension to handle form errors in TwigBridge #389

Closed
felixdorn opened this issue Feb 24, 2020 · 2 comments
Closed

ErrorExtension to handle form errors in TwigBridge #389

felixdorn opened this issue Feb 24, 2020 · 2 comments

Comments

@felixdorn
Copy link

felixdorn commented Feb 24, 2020

Hello!

I wrote a small extension on my app to handle errors using a syntax like that

{% error "errorKey" %}
       <strong>{{ message }}</strong>
{% enderror %}

I don't want to copy/paste it for my next project and I think it could be useful.

Could I make a PR ? What do you think ?

@felixdorn felixdorn changed the title Add laravel convenience to handle form errors in TwigBridge ErroExtension to handle form errors in TwigBridge Feb 24, 2020
@felixdorn felixdorn changed the title ErroExtension to handle form errors in TwigBridge ErrorExtension to handle form errors in TwigBridge Feb 24, 2020
@barryvdh
Copy link
Collaborator

barryvdh commented Dec 1, 2021

Maybe you can post the code for reference for others?

@felixdorn
Copy link
Author

Unfortunately, I don't have it anymore but I would have done so otherwise, of course!

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

No branches or pull requests

2 participants