chol
/
eva
forked from tohe/eva
1
0
Fork 0

added special to OfficeForm, removed autoescape from email-template

This commit is contained in:
Benni Bärmann 2021-03-02 13:41:59 +01:00
parent 7458d06687
commit f194ef5f23
3 changed files with 4 additions and 2 deletions

View File

@ -56,7 +56,7 @@ class ITForm(EvaForm):
class OfficeForm(EvaForm):
class Meta:
model = Employee
fields = ['transponder', 'post_office_box',]
fields = ['transponder', 'special', 'post_office_box',]
class ChangeForm(EvaForm):
class Meta:

View File

@ -11,7 +11,7 @@ DEPARTMENT_CHOICES = {'PROG': 'Programme',
'CENT': 'Central',
'VOR': 'Vorstand',}
LAPTOP_CHOICES = {'14': '14", uUser Standardgerät',
LAPTOP_CHOICES = {'14': '14", Unser Standardgerät',
'12': '12,5", Geeignet für Vielreisende',}
VENDOR_CHOICES = {'STANDARD': 'Dell Latitude',

View File

@ -1,3 +1,5 @@
{% autoescape off %}
{% for key, value in data.items %}
{{ key }}: {{ value }}
{% endfor %}
{% endautoescape %}