mirror of
https://github.com/pretix/pretix-servicefees.git
synced 2024-11-23 14:40:21 +01:00
Add form field label
This commit is contained in:
parent
23de62fbc2
commit
d218a875c8
1 changed files with 2 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue