diff --git a/promgen/settings.py b/promgen/settings.py index 5fffa07fb..190385e29 100644 --- a/promgen/settings.py +++ b/promgen/settings.py @@ -66,6 +66,7 @@ "rest_framework", "social_django", # Django + "django.forms", "django.contrib.admin", "django.contrib.auth", "django.contrib.contenttypes", @@ -116,6 +117,7 @@ }, }, ] +FORM_RENDERER = "django.forms.renderers.TemplatesSetting" WSGI_APPLICATION = "promgen.wsgi.application" diff --git a/promgen/templates/django/forms/widgets/textarea.html b/promgen/templates/django/forms/widgets/textarea.html new file mode 100644 index 000000000..eb349e908 --- /dev/null +++ b/promgen/templates/django/forms/widgets/textarea.html @@ -0,0 +1,2 @@ + diff --git a/promgen/templates/promgen/project_detail_configuration.html b/promgen/templates/promgen/project_detail_configuration.html index 89079f6e4..ac9f3c6cc 100644 --- a/promgen/templates/promgen/project_detail_configuration.html +++ b/promgen/templates/promgen/project_detail_configuration.html @@ -52,7 +52,7 @@ {% if project.description %} -
{{rule.description}}
+{{rule.description}}
{{rule|rule_dict|pretty_yaml}}diff --git a/promgen/templates/promgen/service_block.html b/promgen/templates/promgen/service_block.html index d2db0b41d..ee519cfa3 100644 --- a/promgen/templates/promgen/service_block.html +++ b/promgen/templates/promgen/service_block.html @@ -25,7 +25,7 @@ {% if service.description %}