bolt / bolt/boltforms

How can I override the AJAX template?

Open
#213 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
PHP
Stars
52
Forks
54
PR merge metrics
No merged PRs in 30d

Description

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
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.