jamesmundia / phy

0 stars 0 forks source link

Basic Rehab Functionality #2

Open jamesmundia opened 8 years ago

jamesmundia commented 8 years ago

Need to be able to open an injury listing and see the rehab that has been assigned.

If not rehab has been assigned, this should be noted on the page and a CTA shown to assign rehab

This allows the up-sertion to the collection doc (through the rehab schema) of interval running type, volume, date, and notes

jamesmundia commented 8 years ago

Notes on autoform for update with flowrouter:

http://www.webtempest.com/meteor-js-autoform-tutorial http://stackoverflow.com/questions/34160470/use-flow-router-param-in-autoform http://stackoverflow.com/questions/32895318/meteor-flow-router-issue-with-update# https://forums.meteor.com/t/use-flow-router-param-in-autoform/14433

jamesmundia commented 8 years ago

Now use this: https://github.com/aldeed/meteor-autoform#form-types to get the insert, update, correct. May need to create meteor methods and server / client calls to get this wired correctly.

jamesmundia commented 8 years ago

SO answer for Schema update error: http://stackoverflow.com/questions/35729587/error-trying-to-update-document-using-autoform-with-schema-in-meteor/35738812#35738812