Skip to content

Commit

Permalink
chore: update form length
Browse files Browse the repository at this point in the history
  • Loading branch information
iZooGooD committed Mar 8, 2024
1 parent 7d52ef2 commit 19b3030
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions torrscrapper/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ def contact_form_submit(request):
if not validate_input_length(name, 2, 100):
context["errors"].append("Your name should be between 2 to 100 characters")

if not validate_input_length(subject, 4, 200):
context["errors"].append("Your subject should be between 4 to 200 characters")
if not validate_input_length(subject, 4, 100):
context["errors"].append("Your subject should be between 4 to 100 characters")

if not validate_input_length(message, 10, 500):
context["errors"].append("Message should be between 10 to 500 characters")
Expand Down

0 comments on commit 19b3030

Please sign in to comment.