Last active
August 1, 2023 06:36
-
-
Save edgerunner/42ad9f56fffa8f6097cd4201a5d17963 to your computer and use it in GitHub Desktop.
Confirm calving inline form
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Confirm calving inline form | |
Invisible | |
confirm calving -> Visible | |
Visible& | |
focus elsewhere -> Invisible | |
Calving time selector | |
modify calving time -> Modified | |
Default | |
Modified | |
Calf list | |
add a calf -> Multiple | |
Single | |
Multiple | |
remove calf 2 -> Single | |
remove calf n -> Multiple | |
Difficulty selector | |
easy -> Easy | |
difficult -> Difficult | |
assisted -> Assisted | |
c-section -> C-Section | |
Easy | |
Difficult | |
Assisted | |
C-Section | |
Condition list | |
add a condition -> Some | |
None | |
Some | |
remove last condition -> None | |
remove condition -> Some |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function render(model){ | |
let current_state_name = model.active_states.map(s => s.name); | |
return $("h1", | |
{style: {color: "darkBlue"}}, | |
`The current state is: ${current_state_name}`); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment