{% load plugin_tags %}

Preview

{% render_template_string my_plugin.templates.string_templates.main %}

LLM generating code...

{# This is a hidden form that will be submitted by the button below.#}

Plugin Details for {{ plugin.name }}

Prompt

{{ plugin.prompt }}

Plugin Data

        {{ plugin.plugin_data | pprint }}
      

Plugin Source Module (PluginForm and PluginClass)

        {{ plugin.module }}
      
{% for error in form.module.errors %}

{{ error|escape }}

{% endfor %}

Django Template for Rendering Plugin Data to HTML

        {{ plugin.content_template }}
      
{% for error in form.content_template.errors %}

{{ error|escape }}

{% endfor %}

Django Template for Editing Plugin Data Inline

        {{ plugin.form_template }}
      
{% for error in form.content_template.errors %}

{{ error|escape }}

{% endfor %}