File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ import formatTimespan from 'prison-rideshare-ui/utils/format-timespan';
88import parseTimespan from ' prison-rideshare-ui/utils/parse-timespan' ;
99import deduplicateVisitorSuggestions from ' prison-rideshare-ui/utils/deduplicate-visitor-suggestions' ;
1010import {
11+ HdsAlert ,
1112 HdsModal ,
1213 HdsButton ,
1314 HdsButtonSet ,
@@ -67,10 +68,14 @@ export default class RideForm extends Component {
6768
6869 <M.Body >
6970 {{#if this . editingWarning }}
70- <div data-test-editing-warning >
71- <HdsIcon @ name =' alert-triangle' @ size =' 16' />
72- {{this .editingWarning }}
73- </div >
71+ <HdsAlert
72+ @ type =' inline'
73+ @ color =' critical'
74+ data-test-editing-warning
75+ as | A |
76+ >
77+ <A.Description >{{this .editingWarning }} </A.Description >
78+ </HdsAlert >
7479 {{/if }}
7580
7681 {{#if this . errorMessage }}
You can’t perform that action at this time.
0 commit comments