[Log][Kashish] removing duplicate code from form.html