x
Security
../../../shared/bundle/ruby/3.4.0/gems/lookbook-2.3.11/app/components/lookbook/viewport/component.html.erb:28:22
26
class="grid bg-white relative -inset-px <%= "grid-cols-[1fr_17px]" if @resize_width %> <%= "grid-rows-[1fr_17px]" if @resize_height %>"
27
style="width: calc(100% + 2px); height: calc(100% + 1px); <%= "max-height: #{@max_height}px;" if @max_height.present? %>">
28
<iframe seamless<%= " id=#{@iframe_id}" if @iframe_id.present? %>
^
29
x-ref="iframe"
30
class="bg-lookbook-page-bg h-full w-full border border-lookbook-divider"
Use static attribute names with dynamic values instead.
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
<!-- With List --><div class="p-4 text-sm flex items-start bg-brand-softer text-fg-brand-strong border border-brand-subtle rounded-base" role="alert"> <svg aria-hidden="true" class="w-4 h-4 shrink-0 me-2 mt-0.5" fill="none" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M10 11h2v5m-2 0h4m-2.592-8.5h.01M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" /></svg> <span class="sr-only">Info</span> <div> <span class="font-medium me-1">Ensure that these requirements are met:</span> <ul class="mt-2 list-disc list-outside space-y-1 ps-2.5"> <li>At least 10 characters (and up to 100 characters)</li> <li>At least one lowercase character</li> <li>Inclusion of at least one special character, e.g., ! @ # ?</li> </ul> </div></div><!-- With List Danger --><div class="p-4 text-sm flex items-start bg-danger-soft text-fg-danger-strong border border-danger-subtle rounded-base" role="alert"> <svg aria-hidden="true" class="w-4 h-4 shrink-0 me-2 mt-0.5" fill="none" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M10 11h2v5m-2 0h4m-2.592-8.5h.01M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" /></svg> <span class="sr-only">Danger</span> <div> <span class="font-medium me-1">Ensure that these requirements are met:</span> <ul class="mt-2 list-disc list-outside space-y-1 ps-2.5"> <li>At least 10 characters (and up to 100 characters)</li> <li>At least one lowercase character</li> <li>Inclusion of at least one special character, e.g., ! @ # ?</li> </ul> </div></div>1
2
3
4
5
6
7
8
9
# With Listrender(Flowbite::Alert.new(bordered: true, title: "Ensure that these requirements are met:")) do requirements_listend# With List Dangerrender(Flowbite::Alert.new(bordered: true, style: :danger, title: "Ensure that these requirements are met:")) do requirements_listendThe message block can contain richer content, such as a list.
No params configured.