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 OfficeForm(EvaForm):
|
||||||
class Meta:
|
class Meta:
|
||||||
model = Employee
|
model = Employee
|
||||||
fields = ['transponder', 'post_office_box',]
|
fields = ['transponder', 'special', 'post_office_box',]
|
||||||
|
|
||||||
class ChangeForm(EvaForm):
|
class ChangeForm(EvaForm):
|
||||||
class Meta:
|
class Meta:
|
||||||
|
|
|
@ -11,7 +11,7 @@ DEPARTMENT_CHOICES = {'PROG': 'Programme',
|
||||||
'CENT': 'Central',
|
'CENT': 'Central',
|
||||||
'VOR': 'Vorstand',}
|
'VOR': 'Vorstand',}
|
||||||
|
|
||||||
LAPTOP_CHOICES = {'14': '14", uUser Standardgerät',
|
LAPTOP_CHOICES = {'14': '14", Unser Standardgerät',
|
||||||
'12': '12,5", Geeignet für Vielreisende',}
|
'12': '12,5", Geeignet für Vielreisende',}
|
||||||
|
|
||||||
VENDOR_CHOICES = {'STANDARD': 'Dell Latitude',
|
VENDOR_CHOICES = {'STANDARD': 'Dell Latitude',
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
{% autoescape off %}
|
||||||
{% for key, value in data.items %}
|
{% for key, value in data.items %}
|
||||||
{{ key }}: {{ value }}
|
{{ key }}: {{ value }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% endautoescape %}
|
||||||
|
|
Loading…
Reference in New Issue