is only accessible to admin to make changes in a html table accessible by everyone logged onto the website. the problem is that when I load the page with html table first, it throws validation set in the admin form. like saying that none of the fields should be empty. how should I solve this errors please? anyone?
Separate the admin form from the public view to different controllers
I'm answering you here since that would be useful to more people. Your page could have separate areas for users and admins, in the user area you only show the data and in the admin area you have forms to edit the data. Also add some authentication to the admin area. Most frameworks already have the pieces to do all this easily
Обсуждают сегодня