diff --git a/GeneralApp/admin.py b/GeneralApp/admin.py index d7a1326..9862f97 100644 --- a/GeneralApp/admin.py +++ b/GeneralApp/admin.py @@ -95,7 +95,7 @@ class Admin_StaticPage(SuperModelAdmin, Admin_Trans_BaseModelViewPage): 'classes': ['wide'], 'fields': ('name', 'url', - # 'title', + 'title', 'description', 'text', 'picture', 'order', diff --git a/templates/pages/p_static_page.html b/templates/pages/p_static_page.html index 566549b..b615c75 100644 --- a/templates/pages/p_static_page.html +++ b/templates/pages/p_static_page.html @@ -1,10 +1,27 @@ - - - - - Title - - +{% extends 'tb_base.html' %} +{% block CONTENT %} - - \ No newline at end of file + {% include 'blocks/b_sections_buttons.html' %} + + {% if page.description or page.title or page.text %} +
+
+
+ + {% if page.description %} +
{{ page.description }}
+ {% endif %} + {% if page.title %} +
{{ page.title }}
+ {% endif %} + {% if page.text %} +
{{ page.text|safe }}
+ {% endif %} + +
+
+
+ {% endif %} + + +{% endblock %} \ No newline at end of file diff --git a/templates/widgets/w_checkbox_f_feedback.html b/templates/widgets/w_checkbox_f_feedback.html index 978aeba..9b07dcf 100644 --- a/templates/widgets/w_checkbox_f_feedback.html +++ b/templates/widgets/w_checkbox_f_feedback.html @@ -3,7 +3,7 @@ {% if feedback_form.errors.company %}
{% endif %}