x
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<!-- Notice --><div class="bg-blue p-4"> <div class="max-w-7xl mx-auto px-2 sm:px-6 lg:px-8"> <div class="relative flex items-center"> <div class="flex-shrink-0"> <div class="text-xl text-white"> <i class="fas fa-check-circle"></i> </div> </div> <div class="ml-3 flex"> <div class="text-sm text-white"> Something good happened </div> </div> </div> </div></div><!-- Alert --><div class="bg-red p-4"> <div class="max-w-7xl mx-auto px-2 sm:px-6 lg:px-8"> <div class="relative flex items-center"> <div class="flex-shrink-0"> <div class="text-xl text-white"> <i class="fas fa-skull-crossbones"></i> </div> </div> <div class="ml-3 flex"> <div class="text-sm text-white"> Something bad happened </div> </div> </div> </div></div>
1
2
3
4
5
6
7
8
9
# Noticerender FlashComponent.new(scheme: :notice) do "Something good happened"end# Alertrender FlashComponent.new(scheme: :alert) do "Something bad happened"end
No notes provided.
No params configured.