From d218a875c84411339c9091195f488a3e45f899b9 Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Mon, 5 Mar 2018 12:37:50 +0100 Subject: [PATCH] Add form field label --- pretix_servicefees/views.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pretix_servicefees/views.py b/pretix_servicefees/views.py index 01b1f2c..f9819dd 100644 --- a/pretix_servicefees/views.py +++ b/pretix_servicefees/views.py @@ -1,12 +1,13 @@ from django import forms from django.urls import reverse +from django.utils.translation import ugettext_lazy as _ from pretix.base.forms import SettingsForm from pretix.base.models import Event from pretix.control.views.event import EventSettingsViewMixin, EventSettingsFormView class ServiceFeeSettingsForm(SettingsForm): - service_fee_abs = forms.DecimalField() + service_fee_abs = forms.DecimalField(label=_('Service fee')) class SettingsView(EventSettingsViewMixin, EventSettingsFormView):