Browse Source

Added a template for defining the HTML components templates

Roland Haroutiounian 8 years ago
parent
commit
8c3c39bca9

+ 4
- 0
plugins/webui/templates/components/components.html View File

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

+ 1
- 1
plugins/webui/templates/documents/show.html View File

@@ -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 %}

Loading…
Cancel
Save