Skip to content

Commit

Permalink
LIB-681 Switch page 2 summary alert to aside+BS card
Browse files Browse the repository at this point in the history
  • Loading branch information
jtmcd75 committed Dec 18, 2024
1 parent 5e2bac9 commit 6ad0e50
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions configuration/webform.webform.library_instruction_session.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,17 @@ elements: |-
summary_so_far:
'#type': webform_markup
'#markup': |-
<strong>Summary so far</strong>
<div class="alert alert-info mt-2"><strong>Instruction type:</strong> [webform_submission:values:instruction_type_request]</div>
<aside class="text-center">
<div class="card bg-light d-inline-block">
<div class="card-header h4">Summary so far</div>
<div class="card-body">
<p class="card-text">Selected instruction type:
<kbd class="bg-light text-unb-red">[webform_submission:values:instruction_type_request]</kbd>
</p>
</div>
</div>
</aside>
your_name:
'#type': webform_name
'#title': 'Your name'
Expand Down

0 comments on commit 6ad0e50

Please sign in to comment.