Audit template fixes

This commit is contained in:
2020-09-01 13:13:44 +01:00
parent 945e521feb
commit 6ee9efa39e
5 changed files with 75 additions and 85 deletions

File diff suppressed because one or more lines are too long

View File

@@ -158,3 +158,8 @@ html.embedded {
max-width: 3em;
}
}
(input,select)[required]::after {
content: '*';
color: red;
}

View File

@@ -165,3 +165,7 @@ def yesnoi(boolean, invert=False, autoescape=True):
else:
value += ' <span class="fas fa-exclamation" style="color: red;"></span>'
return mark_safe(value)
@register.filter
def title_spaced(string):
return title(string).replace('_', ' ')