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

Override default form template #665

Open
Err0r404 opened this issue Sep 26, 2018 · 0 comments
Open

Override default form template #665

Err0r404 opened this issue Sep 26, 2018 · 0 comments

Comments

@Err0r404
Copy link

Hello,

After successfully setup the bundle (+ step 10) I want to customize some template.

I copied the whole Thread directory in my bundle but some templates are not replaced :

comment_new.html.twig
comment_new_content.html.twig

It looks like those template are loaded by the following code :

{{ render(url('fos_comment_new_thread_comments', {"id": thread.id})) }}

The code call original ThreadController.php in /vendor

Any idea on how I can finish overriding my templates ?

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

1 participant