sedge / opendojo

An open-source student and class management system for traditional karate clubs
Mozilla Public License 2.0
2 stars 0 forks source link

class check in almost complete #172

Closed AlinaShtramwasser closed 9 years ago

AlinaShtramwasser commented 9 years ago

Hi Kieran -- here is my code for this screen for whenever you want to continue working on it. The save works, the check in works and generates an attendance xpt I have a button which executes adding attendance wrapped in a link and I don't know what would happen if an error happened. I wanted to transitionTo("terminal") on success but that code doesn't work and the link does so I'm leaving it as a link for now -- and in any case do we really want to freeze it if there is an attendance creation error?
The issue we talked about has to do with clicking the "Cancel" button -- this should refresh the view as in --> the default values should load -- I have a skeleton for hte method we discussed componentWillReceiveProps: function(nextProps) in the firstName validator. Let me know if you have any questions am gonna jump on the next issue.