mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-17 13:32:15 +00:00
Audit template fixes
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -158,3 +158,8 @@ html.embedded {
|
||||
max-width: 3em;
|
||||
}
|
||||
}
|
||||
|
||||
(input,select)[required]::after {
|
||||
content: '*';
|
||||
color: red;
|
||||
}
|
||||
|
||||
@@ -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('_', ' ')
|
||||
|
||||
Reference in New Issue
Block a user