108: Fix enrichHTML bug, add choices to DataModel
- Fixed bug with
enrichHTML()
causing data on item sheets to be enriched prior to saving to the database. - Added new Handlebars helper,
getValue
to support retrieving a value by key in Handlebars. This was mostly necessary due to how moveResults is an object that we iterate through. - Added
choices
back to the DataModel. - Updated the move-description.hbs partial to have a
hasChoices
flag that can be toggled. I wasn't able to simply checksystem.choices
due to the default value, an empty string, returning false in if statements.
Closes #108 (closed)