Create choices template to have all multi choice experience be the same
as radio select choices.
Moved notes and tags into advanced template in order to reduce the
amount of fields in a form for users. Given that these two fields are
usually a catch all for anything that is not in the core data model. it
is not garunteed that users will use them.
If a user does decide to use the fields we will store that selection in
localstorage so that they dont have to open it every time.
I put the javascript into the page section, as i seem to have had issues
with javascript blocks overriding each other.
In order to have more control and flexiability on how elements are
rendered create field set implementation.
every field set gets rendered in order, and uses the template specified.
This should probably be built into the metaclass of the form but i have
no idea how to do that.
While Feeding for is great, i think there is room to create optimised
forms for breast feeding and bottle feeding.
This is the first one a trimmed down form for bottle feeding
specifically
* feat: weight percentiles report
https://github.com/babybuddy/babybuddy/issues/512
* fix: formatting on weight percentile graph to extend out only 1 day more than the last weigh in date
https://github.com/babybuddy/babybuddy/pull/708#discussion_r1332335789
* feat: pre-commit lint with black hook
tested and stops the python commit if formatting is bad. then it runs black and fixes the formatting, resulting in a new git change to add/commit again
---------
Co-authored-by: Christopher Charbonneau Wells <10456740+cdubz@users.noreply.github.com>
* Add `nap` field, remove `napping` field.
* Default `nap` property to NULL
* Update existing tests
* Format the code!!
* Allow `Sleep.nap` to be blank
* Migrate settings from `NAP_START_MIN` AND `NAP_START_MAX`
* Remove `active` class from boolean fields
* Correct test method name and user config
* Add forms test
* Use settings for Sleep nap model tests