added special to OfficeForm, removed autoescape from email-template
This commit is contained in:
parent
7458d06687
commit
f194ef5f23
|
@ -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:
|
||||
|
|
|
@ -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',
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
{% autoescape off %}
|
||||
{% for key, value in data.items %}
|
||||
{{ key }}: {{ value }}
|
||||
{% endfor %}
|
||||
{% endautoescape %}
|
||||
|
|
Loading…
Reference in New Issue