chiraag-kakar / sharenlearn

A Common File/Resource Sharing Platform for Students & Faculties built using HTML, CSS, Javascript, & Django.
https://sharenlearn.herokuapp.com/
MIT License
45 stars 78 forks source link

fixed login form #187

Closed aditya201551 closed 3 years ago

aditya201551 commented 3 years ago

fixes for issue #179

@harshita2216

aditya201551 commented 3 years ago

Screenshot (87)

khanfarhan10 commented 3 years ago

Please resolve all merge conflicts in the css.

aditya201551 commented 3 years ago

@khanfarhan10 done!

ashutoshkrris commented 3 years ago

Hey @Aditya201551 Please check if you mistakenly removed this part from urls.py as it is necessary for Ajax validation of email and password field : path('validate-email/', csrf_exempt(email_validation), name='email_validate'), path('validate-password/', csrf_exempt(password_validation), name='password_validate'),

Also, you removed the email field from login.html :

<div class="form-group">
    <input type="text" class="form-control item" id="email" placeholder="Enter college email id">
    <div class="emailFeedBackArea invalid-feedback" style="display:none"></div>
 </div>
 <div class="form-group">
     <input type="password" class="form-control item" id="password" placeholder="Enter password">
  </div>

@harshita2216 please have a look at the bugs I mentioned over here