1
- <div
2
- {{ #if id }} id =" {{ id }} " {{ /if }}
3
- class ="
4
- alert
5
- alert-{{ default color " info" }}
6
- {{ #if dismissible }} alert-dismissible{{ /if }}
7
- {{ #if important }} alert-important{{ /if }}
8
- {{ class }}
9
- "
10
- role =" alert"
11
- >
12
- <div class =" d-flex" >
1
+ <div {{ ~#if id }} id =" {{ id }} " {{ /if }} class =" alert alert-{{ default color " info" }} {{ class }} {{ ~#if dismissible }}
2
+ alert-dismissible{{ /if ~}} {{ ~#if important }} alert-important{{ /if ~}} " role =" alert" >
13
3
14
- {{ #if icon }}
15
- <div class =" icon alert-icon" >
16
- {{~ icon_img icon ~}}
4
+ {{ ~#if icon ~}}
5
+ <div class =" icon alert-icon" >
6
+ {{~ icon_img icon ~}}
7
+ </div >
8
+ {{ ~/if ~}}
9
+
10
+ <div class =" overflow-auto" >
11
+ {{ ~#if title ~}}
12
+ <h4 class =" alert-title" {{ ~#if important ~}} style =" color:inherit" {{ /if ~}} >{{ title }} </h4 >
13
+ {{ ~/if ~}}
14
+
15
+ {{ ~#if description ~}}
16
+ <div class =" alert-description" >
17
+ {{~ description ~}}
17
18
</div >
18
- {{ /if }}
19
+ {{ ~ /if~ }}
19
20
20
- <div >
21
- {{ #if title }} <h4 class =" alert-title" {{ #if important }} style =" color:inherit" {{ /if }} >{{ title }} </h4 >{{ /if }}
22
- {{ ~#if description ~}}
23
- <div class =" alert-description" >
24
- {{~ description ~}}
25
- </div >
26
- {{ ~/if ~}}
27
- {{ ~#if description_md ~}}
28
- <div class =" alert-description" style =" margin-bottom: -1rem;" >
29
- {{{ ~markdown description_md ~}}}
30
- </div >
31
- {{ ~/if ~}}
32
- {{ #if link }}
33
- <a href =" {{ link }} "
34
- class =" btn btn-sm alert-link mt-2 px-2 {{ #if important }} text-{{ default color ' info' }} {{ /if }} "
35
- >{{ default link_text " Ok" }} </a >
36
- {{ /if }}
37
- {{ #each_row }}
38
- <a href =" {{ link }} "
39
- class =" btn btn-sm btn-{{ default color ' primary' }} mt-2 px-2"
40
- >{{ default title " Ok" }} </a >
41
- {{ /each_row }}
21
+ {{ ~#if description_md ~}}
22
+ <div class =" alert-description" style =" margin-bottom: -1rem;" >
23
+ {{{ ~markdown description_md ~}}}
42
24
</div >
25
+ {{ ~/if ~}}
43
26
27
+ {{ ~#if link ~}}
28
+ <a href =" {{ link }} " class =" btn btn-sm alert-link mt-2 px-2 {{ ~#if important ~}} text-{{ default color ' info' }} {{ /if ~}} " >
29
+ {{ default link_text " Ok" }}
30
+ </a >
31
+ {{ ~/if ~}}
32
+
33
+ {{ ~#each_row ~}}
34
+ <a href =" {{ link }} " class =" btn btn-sm btn-{{ default color ' primary' }} mt-2 mx-1 px-2" >{{ default title " Ok" }} </a >
35
+ {{ ~/each_row ~}}
44
36
</div >
45
- {{ #if dismissible }}
46
- <a class =" btn-close" data-bs-dismiss =" alert" aria-label =" close" ></a >
47
- {{ /if }}
48
- </div >
37
+
38
+ {{ ~#if dismissible ~}}
39
+ <a class =" btn-close" data-bs-dismiss =" alert" aria-label =" close" ></a >
40
+ {{ ~/if ~}}
41
+ </div >
0 commit comments