zishan0215 / attendance

Attendance Management System for Computer Departement, JMI
Other
40 stars 128 forks source link

Admin->Teachers: Create an option for edit teacher in the table itself #14

Closed zishan0215 closed 10 years ago

zishan0215 commented 10 years ago

@nkmittal4994 When you click on teachers in the admin dashboard, a list of teachers is displayed. Along with the list of teachers, we should have an option to edit that particular teacher as well. So this is your next task. When someone clicks on edit, then a new page should be displayed with a form pre populated with the information regarding that very teacher fetched from the database. Then there should be an option to save and cancel the changes. I shall code the basic structure and push the code soon. Please comment if you have any doubts..

nickedes commented 10 years ago

ok waiting for ur code :smiley:

zishan0215 commented 10 years ago

Pushed the code.. Admin.php -> edit_teacher() you already have the teacher id.. so start from there... the form is not complete.. copy paste the code for the fields.. connect the submit button.. logic will be same as that of add_teacher() so you can refer to that function for help.