hex337 / quantum-attendance

An attendance program for Quantum Martial Arts
MIT License
3 stars 2 forks source link

Create a form view for a single student #21

Open hex337 opened 7 years ago

hex337 commented 7 years ago

We want to have the ability to create and update student profiles. The current edit form for a "member" lives at /app/views/members/edit.html.haml with the form at /app/views/members/_form.html.haml.

Updates and additions should also update the exiting state in redux as well as the database.

In terms of how to go about this, we could either do a modal, that you can get to from the StudentsScreen or the StudentScreen, or we can create a separate screen for this. I'm open to either option on this. A separate screen has additional requirements like making a new container and updating the router, but it will probably make testing easier. The modal is more light weight, but could be annoying to work with.