zishan0215 / attendance

Attendance Management System for Computer Departement, JMI
Other
43 stars 129 forks source link

Admin->Students: Add an edit button to edit the information of students #15

Closed zishan0215 closed 10 years ago

zishan0215 commented 10 years ago

@wadhwasahil
When you click on students in the admin dashboard, a list of students is displayed based on the semester selected. Along with the list of students, we should have an option to edit that particular student 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 student 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..

wadhwasahil commented 10 years ago

ok put the basic structure I will follow you

zishan0215 commented 10 years ago

okay

zishan0215 commented 10 years ago

Pushed the code.. Admin.php -> edit_student() you already have the student 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.

nickedes commented 10 years ago

we will have d option of changing student name only. or shud i keep option of changing semester and roll no. too

tusharaheja commented 10 years ago

you should keep an option for changing the semester also and roll number never changes for a student

nickedes commented 10 years ago

Ok