kosiakkatrina
0b47b5ccd4
Cldc 340 read only questions ( #34 )
3 years ago
Daniel Baark
5e201d3553
CLDC-344: Validations ( #36 )
...
* Form with model so that we can validate (hypothetically)
* Put turbo frame back
* Turbo can update form errors if submitting returns 422
* Refactor and fix specs
* String interpolation over concatenation
3 years ago
baarkerlounger
7fb7ddcf90
Fix checkbox partial
3 years ago
kosiakkatrina
0aa8d88ffb
Render html from JSON questions ( #33 )
...
* Render html from questions with example
* Render html for all question types
3 years ago
Daniel Baark
a831a70aab
CLDC-341: Conditional showing and hiding of question on a page ( #29 )
...
* Use Stimulus controller for showing and hiding conditional questions for radio questions
3 years ago
MadeTech Dushan
f38c65ea48
fix update answer links
3 years ago
MadeTech Dushan
c02249ae6a
layout changes
3 years ago
MadeTech Dushan
0333a1c1ca
add spec for all questions answered text
3 years ago
MadeTech Dushan
9ca0063ac0
spec uses subsection with 2 questions on page
3 years ago
MadeTech Dushan
26cca734fa
Use questions instead of pages in check answers
3 years ago
Kat
e086f1c131
Extract partial answers table, rename variable in helper method
3 years ago
Kat
a436a6cae2
Add check answers helper, display number of questions answered and a link to the next unanswered question
3 years ago
MadeTech Dushan
82e87483b9
add specs for change/answer links on check answers
3 years ago
MadeTech Dushan
fe43a1e999
Display the answers in the answer check page
...
Save radio button and checkbox string values instead of the key/number in
the db. ADR will be added to explain why we are saving values directly to
the db instead of using enums with active record to convert the key/numbers
to the appropriate strings.
3 years ago
MadeTech Dushan
c73074bc0e
Add test for check answers questions labels
3 years ago
MadeTech Dushan
a04a31105c
add check answers page with passing test
3 years ago
baarkerlounger
1be3ce0c60
DRY up partials
3 years ago
baarkerlounger
1ea0467811
Adjust radio button size based on number of answer options
3 years ago
baarkerlounger
6053bcefd4
Support multiple dividers per answer option set
3 years ago
baarkerlounger
50b102e8f9
Enable dividers in radio button and checkbox answer options
3 years ago
baarkerlounger
c4111f7546
Upstream uses select to mean dropdown and checkbox for... well checkboxes
3 years ago
baarkerlounger
82f6dab314
Add date template
3 years ago
baarkerlounger
c46441bd5d
Add household needs section & fix form navigation for multi question pages
3 years ago
baarkerlounger
c655b918a3
Add page header
3 years ago
baarkerlounger
59a9e6ca27
Complete second section
3 years ago
baarkerlounger
17853f7b9f
Generate page/question views dynamically
3 years ago
baarkerlounger
53d525670c
Refactor form definition to config file
3 years ago
baarkerlounger
1b45800fbb
Radio options
3 years ago
baarkerlounger
f59aba2476
Spec form answer saving and fix for other household members
3 years ago
baarkerlounger
85f7005db0
Move back link into navigation div
3 years ago
Matthew Phelan
025b56a6cc
household characteristics section questions, db migration and form flow tests added
3 years ago
baarkerlounger
ab28996e83
Move back link to before_content
3 years ago
Matthew Phelan
88dcdb326f
back link tests added
3 years ago
baarkerlounger
377e055e47
Dynamic back button
3 years ago
Matthew Phelan
e7e859889d
back link refactor
3 years ago
Matthew Phelan
ced82057f6
back link init
3 years ago
baarkerlounger
f25a08cfc8
Refactoring and navigation
3 years ago
baarkerlounger
a6146c3f7a
Refactor routes
3 years ago
baarkerlounger
88ab467eb7
Form question namespacing
3 years ago
baarkerlounger
57e0edbccb
Log list skeleton
3 years ago
baarkerlounger
d85e0da078
Don't need to create our own question markup
3 years ago
Matthew Phelan
c9a6018ecb
front end gems added - working example code still needed
3 years ago
Matthew Phelan
610a35ed47
Hotwire, stimulus and turbo added
3 years ago
baarkerlounger
4897e2cd76
Add application skeleton to repo
3 years ago