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
<!-- Without Icon --><div class="p-4 text-sm bg-brand-softer text-fg-brand-strong rounded-base" role="alert"> <span class="font-medium">Info alert!</span> Change a few things up and try submitting again.</div><!-- Without Icon Danger --><div class="p-4 text-sm bg-danger-soft text-fg-danger-strong rounded-base" role="alert"> <span class="font-medium">Danger alert!</span> Change a few things up and try submitting again.</div>1
2
3
4
5
# Without Iconrender(Flowbite::Alert.new(icon: false, title: "Info alert!")) { "Change a few things up and try submitting again." }# Without Icon Dangerrender(Flowbite::Alert.new(icon: false, style: :danger, title: "Danger alert!")) { "Change a few things up and try submitting again." }Hide the info icon shown at the start of the alert.
No params configured.