Quellcode durchsuchen

Added a template for defining the HTML components templates

Roland Haroutiounian vor 8 Jahren
Ursprung
Commit
8c3c39bca9

+ 4
- 0
plugins/webui/templates/components/components.html Datei anzeigen

@@ -0,0 +1,4 @@
1
+{% if type == "text" %}
2
+        <textarea></textarea>
3
+{% endif %}
4
+

+ 1
- 1
plugins/webui/templates/documents/show.html Datei anzeigen

@@ -1,5 +1,5 @@
1 1
 {% extends "base_backend.html" %}
2 2
 {% block title %}Lodel 2 - Document {{ id }}{% endblock %}
3 3
 {% block content %}
4
-    {{ leapi.Section.get([('lodel_id','=',id)]) }}
4
+    {{ leapi.Section.get(['lodel_id = %s' % id]) }}
5 5
 {% endblock %}

Laden…
Abbrechen
Speichern