So I found the jinja template ‘web.html’ , and I created a button inside of it to allow me to have a button in the List view of a doctype that I have.
The button would link me to my webform that corresponds to the doctype.
The code:
{%- if doctype == "DocTitle" %}<a href="[static link]"><button>Fill Out Form</button></a>{%- endif %}
The link is not always going to be that [static link]. I would like a way to allow the link to change when the code does. I need to access the route to the webform regardless of what the route is. How do I access the route of the webform inside of ‘web.html’