judicialcouncilcalifornia / docassemble.jcc.abilitytopay

https://mycitations.courts.ca.gov
MIT License
0 stars 0 forks source link

left/right radio buttons for yes/no #10

Open jmadans opened 5 years ago

jmadans commented 5 years ago

Can we edit the field type for yes/no questions that puts them left/right rather than top/bottom.

Investigated "yes/no wide" and it doesn't orient them left/right.

slowbot commented 5 years ago

Style: 1 points

slowbot commented 5 years ago

DO NOT MERGE. Markup placeholder only. Style classes ready to go. branch: 10-left-right-yesno

  1. New class and markup will require a new datatype

image

slowbot commented 5 years ago

@rdeshpande Can we look into adding a container with a unique class to the form container?

rdeshpande commented 5 years ago

Hey @slowbot - looks like you can key on the yesnospacing class that is added to the containing div around the inputs.

Example: https://demo.docassemble.org/interview?i=docassemble.base%3Adata%2Fquestions%2Fexamples%2Ffields-yesno.yml#page1

slowbot commented 5 years ago

@rdeshpande I have updated styles for this in a new branch "yesnospacing" maybe you and I could test this on Friday to see if its working as expected. I think the problem is we use yesno in other areas of the app.

jmadans commented 5 years ago

@rdeshpande Is this ready to merge?