diff --git a/pluginHolder/templates/pluginHolder/help.html b/pluginHolder/templates/pluginHolder/help.html index d822febbc..3dc46d3c4 100644 --- a/pluginHolder/templates/pluginHolder/help.html +++ b/pluginHolder/templates/pluginHolder/help.html @@ -437,20 +437,21 @@ def main_view(request):

{% trans "Step 5: Create Templates" %}

{% trans "Templates must extend baseTemplate/index.html:" %}

-
{% extends "baseTemplate/index.html" %}
-{% load static %}
-{% load i18n %}
+        
<!-- Example template code (replace {% with HTML entities) -->
+{%% extends "baseTemplate/index.html" %%}
+{%% load static %%}
+{%% load i18n %%}
 
-{% block title %}
-    My First Plugin - {% trans "CyberPanel" %}
-{% endblock %}
+{%% block title %%}
+    My First Plugin - {%% trans "CyberPanel" %%}
+{%% endblock %%}
 
-{% block content %}
+{%% block content %%}
     <div class="container">
         <h1>{{ plugin_name }}</h1>
         <p>Version {{ version }}</p>
     </div>
-{% endblock %}
+{%% endblock %%}
{% trans "Important" %}: {% trans "Always use the @cyberpanel_login_required decorator for all views to ensure users are authenticated." %}