Matthew Phelan
4a8da65a4d
Dynamically passing question to validator
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
Matthew Phelan
380235a9ed
error message passed through to front end
3 years ago
MadeTech Dushan
023f1f66e3
make check answer header dynamic
3 years ago
MadeTech Dushan
c02249ae6a
layout changes
3 years ago
MadeTech Dushan
8f2d9ddf81
linting fixes
3 years ago
Kat
e086f1c131
Extract partial answers table, rename variable in helper method
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
ed9ce2e137
Get a second passing test in place
...
Co-authored-by: Daniel Baark <baarkerlounger@users.noreply.github.com>
3 years ago
MadeTech Dushan
a04a31105c
add check answers page with passing test
3 years ago
baarkerlounger
e49dba3a64
Rubocop
3 years ago
Matthew Phelan
7d762bd4f3
validation init
3 years ago
baarkerlounger
1be3ce0c60
DRY up partials
3 years ago
baarkerlounger
17853f7b9f
Generate page/question views dynamically
3 years ago
baarkerlounger
f17d480a12
Save all answers on page
3 years ago
baarkerlounger
53d525670c
Refactor form definition to config file
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
5392248e35
Rubocop
3 years ago
baarkerlounger
f6fdd64bdd
Save answers as we submit
3 years ago
baarkerlounger
5d787cf85c
Refactor case logs
3 years ago
baarkerlounger
fe13d78191
Intoduce Turbo-Frames!
3 years ago
baarkerlounger
02ceafa387
Added gender question
3 years ago
baarkerlounger
5b4fcb6317
Two questions that route to each other
3 years ago
baarkerlounger
d01bb9f00b
Add some controller specs
3 years ago
baarkerlounger
57e0edbccb
Log list skeleton
3 years ago
baarkerlounger
a73c020658
Add a case log
3 years ago