rubyforgood / inkind-admin

A project serving Community Education Partnerships - https://www.cep.ngo/ . This Rails application presents an admin interface for CEP to manage their volunteers and students. And provides a GraphQL backend for https://github.com/rubyforgood/inkind-volunteer .
MIT License
9 stars 27 forks source link

Split Guardian & Emergency Contact name fields on Student #145 #171

Closed JelenaD1 closed 2 years ago

JelenaD1 commented 2 years ago

Resolves #145

This change replace the guardian_name and emergency_contact_name field on the student table to guardian_first_name, guardian_last_name, emergency_contact_first_name, & emergency_contact_last_name. Specified name fields are removed and replaced with first/last name fields -DONE Update the seed files to still create valid students-DONE Update the Students index so it doesn't break-DONE Update the Student form to accept inputs for these fields-DONE. I've also updated the GraphQl Student Type to reflect the changes above. Run standardrb --fix -DONE

STUDENT INDEX PAGE

Screenshot_12_7_21__12_11_PM

:

STUDENT FORM:

Screenshot_12_7_21__12_13_PM
RudeChowder commented 2 years ago

Working on this as well

JelenaD1 commented 2 years ago

hey @garettarrowood , me and @RudeChowder just finished this one. Let us know if we need to do anything else.