Skip to content

Commit

Permalink
Update forms.py
Browse files Browse the repository at this point in the history
  • Loading branch information
iMarkeh authored Jan 23, 2025
1 parent a84720c commit 84719ec
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions vehicles/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,12 +187,6 @@ def __init__(self, data, *args, user, vehicle, sibling_vehicles, **kwargs):
or vehicle.operator_id in settings.ALLOW_VEHICLE_NOTES_OPERATORS
):
del self.fields["notes"]


if user.is_trusted:
del self.fields["rules"]
else
del self.fields["trustedrules"]

if vehicle.is_spare_ticket_machine():
del self.fields["notes"]
Expand Down

0 comments on commit 84719ec

Please sign in to comment.