GravityKit / GravityView

The best and easiest way to display Gravity Forms entries on your website.
https://www.gravitykit.com/products/gravityview/
245 stars 62 forks source link

Fix template selection for single entry layout on new fields #2082

Closed doekenorg closed 2 weeks ago

doekenorg commented 2 weeks ago

This PR addresses #2078.

When a field was added it referenced the dictionary template to retrieve the fields HTML. I've added a data-attribute on the add button that contains the correct template to send with the Ajax request.