mirror of
https://github.com/ae-utbm/sith.git
synced 2025-09-16 13:03:51 +00:00
feat: automatic product counters edition
This commit is contained in:
@@ -153,10 +153,8 @@ form {
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.row {
|
||||
label {
|
||||
margin: unset;
|
||||
}
|
||||
.row > label {
|
||||
margin: unset;
|
||||
}
|
||||
|
||||
// ------------- LABEL
|
||||
|
@@ -115,7 +115,7 @@ class SelectUser(TextInput):
|
||||
|
||||
def validate_future_timestamp(value: date | datetime):
|
||||
if value <= now():
|
||||
raise ValueError(_("Ensure this timestamp is set in the future"))
|
||||
raise ValidationError(_("Ensure this timestamp is set in the future"))
|
||||
|
||||
|
||||
class FutureDateTimeField(forms.DateTimeField):
|
||||
|
Reference in New Issue
Block a user