Skip to content

Commit

Permalink
Resolve validation toggle on form preview. Closes #339
Browse files Browse the repository at this point in the history
  • Loading branch information
iTerminate committed Dec 19, 2024
1 parent 02acc82 commit 768f0a3
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions views/form-viewer.jade
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,11 @@ block content
!= html
#validation.well.hide
.span3.sidebar
.btn-group(data-toggle='buttons-radio')
button.btn.btn-info#show-validation Show validation
button.btn.btn-info#hide-validation.active Hide validation
.btn-group(data-bs-toggle='buttons-radio')
input.btn-check#show-validation(type='radio', name='validation-toggle')
label.btn.btn-outline-primary(for="show-validation") Show validation
input.btn-check#hide-validation(type='radio', name='validation-toggle' checked)
label.btn.btn-outline-primary(for="hide-validation") Hide validation

block js
script(type='text/javascript', src='#{prefix}/jquery/jquery.js')
Expand Down

0 comments on commit 768f0a3

Please sign in to comment.