mirror of
https://github.com/pretix/pretix.git
synced 2026-05-08 15:44:02 +00:00
Style settings are not optional
This commit is contained in:
@@ -1883,6 +1883,7 @@ Your {organizer} team"""))
|
|||||||
RegexValidator(regex='^#[0-9a-fA-F]{6}$',
|
RegexValidator(regex='^#[0-9a-fA-F]{6}$',
|
||||||
message=_('Please enter the hexadecimal code of a color, e.g. #990000.')),
|
message=_('Please enter the hexadecimal code of a color, e.g. #990000.')),
|
||||||
],
|
],
|
||||||
|
required=True,
|
||||||
widget=forms.TextInput(attrs={'class': 'colorpickerfield'})
|
widget=forms.TextInput(attrs={'class': 'colorpickerfield'})
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
@@ -1904,6 +1905,7 @@ Your {organizer} team"""))
|
|||||||
RegexValidator(regex='^#[0-9a-fA-F]{6}$',
|
RegexValidator(regex='^#[0-9a-fA-F]{6}$',
|
||||||
message=_('Please enter the hexadecimal code of a color, e.g. #990000.')),
|
message=_('Please enter the hexadecimal code of a color, e.g. #990000.')),
|
||||||
],
|
],
|
||||||
|
required=True,
|
||||||
widget=forms.TextInput(attrs={'class': 'colorpickerfield'})
|
widget=forms.TextInput(attrs={'class': 'colorpickerfield'})
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
@@ -1925,6 +1927,7 @@ Your {organizer} team"""))
|
|||||||
RegexValidator(regex='^#[0-9a-fA-F]{6}$',
|
RegexValidator(regex='^#[0-9a-fA-F]{6}$',
|
||||||
message=_('Please enter the hexadecimal code of a color, e.g. #990000.')),
|
message=_('Please enter the hexadecimal code of a color, e.g. #990000.')),
|
||||||
],
|
],
|
||||||
|
required=True,
|
||||||
widget=forms.TextInput(attrs={'class': 'colorpickerfield'})
|
widget=forms.TextInput(attrs={'class': 'colorpickerfield'})
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
@@ -1945,6 +1948,7 @@ Your {organizer} team"""))
|
|||||||
RegexValidator(regex='^#[0-9a-fA-F]{6}$',
|
RegexValidator(regex='^#[0-9a-fA-F]{6}$',
|
||||||
message=_('Please enter the hexadecimal code of a color, e.g. #990000.')),
|
message=_('Please enter the hexadecimal code of a color, e.g. #990000.')),
|
||||||
],
|
],
|
||||||
|
required=True,
|
||||||
widget=forms.TextInput(attrs={'class': 'colorpickerfield no-contrast'})
|
widget=forms.TextInput(attrs={'class': 'colorpickerfield no-contrast'})
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
@@ -1966,6 +1970,7 @@ Your {organizer} team"""))
|
|||||||
'form_kwargs': lambda: dict(
|
'form_kwargs': lambda: dict(
|
||||||
label=_('Font'),
|
label=_('Font'),
|
||||||
help_text=_('Only respected by modern browsers.'),
|
help_text=_('Only respected by modern browsers.'),
|
||||||
|
required=True,
|
||||||
widget=FontSelect,
|
widget=FontSelect,
|
||||||
**primary_font_kwargs()
|
**primary_font_kwargs()
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user