boltforms icon indicating copy to clipboard operation
boltforms copied to clipboard

How can I override the AJAX template?

Open Chazz09 opened this issue 8 years ago • 1 comments

I would like to customize the AJAX template found in boltforms\templates\asset_ajax.twig.

But how can I override the AJAX template with my own template inside my theme?

I have tried:

    templates:
        asset: my_sub_directory/_ajax.twig
    templates:
        ajax: my_sub_directory/_ajax.twig

But both options don't work. Overriding the form- or email- templates are working fine, using

    templates:                      
        form: my_sub_directory/form.twig
        email: my_sub_directory/email.twig

Chazz09 avatar Nov 08 '17 10:11 Chazz09

I came here looking for the exact same thing, @Chazz09 did you manage to find a solution?

Mahan-F avatar Dec 14 '18 13:12 Mahan-F