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

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

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

-
<!-- Example template code (replace {% with HTML entities) -->
-{%% extends "baseTemplate/index.html" %%}
-{%% load static %%}
-{%% load i18n %%}
+        {% verbatim %}
+        
{% 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 %%}
-    <div class="container">
-        <h1>{{ plugin_name }}</h1>
-        <p>Version {{ version }}</p>
-    </div>
-{%% endblock %%}
+{% block content %} +
+

{{ plugin_name }}

+

Version {{ version }}

+
+{% endblock %}
+ {% endverbatim %}
{% trans "Important" %}: {% trans "Always use the @cyberpanel_login_required decorator for all views to ensure users are authenticated." %}