Skip to content
Snippets Groups Projects
Commit 05a01c65 authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Apply suggestion to aleksis/apps/hjelp/models.py

parent 0ea718b7
No related branches found
No related tags found
1 merge request!4Include my work from our last meeting
...@@ -34,10 +34,8 @@ class FAQQuestion(models.Model): ...@@ -34,10 +34,8 @@ class FAQQuestion(models.Model):
verbose_name=_("Symbol")) verbose_name=_("Symbol"))
show = models.BooleanField(verbose_name=_("Published"), default=False) show = models.BooleanField(verbose_name=_("Published"), default=False)
answer_text = models.TextField(blank=True, help_text=_("Because of our CSS framework all <ul>"
help_text=_("You can use HTML syntax in the FAQ answers. <br> Because of " "elements must have the CSS class browser-default."),
"our CSS framework all <strong>&lt;ul&gt;</strong> elements "
"must have the CSS class <em>browser-default</em>."),
verbose_name=_("Answer")) verbose_name=_("Answer"))
section = models.ForeignKey(FAQSection, on_delete=models.CASCADE, blank=True, related_name="questions", section = models.ForeignKey(FAQSection, on_delete=models.CASCADE, blank=True, related_name="questions",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment