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
<!-- Disabled Radio Button --><div class="flex"> <div class="flex items-center h-5"><input class="text-brand bg-neutral-secondary-medium border-default-medium focus:ring-brand focus:ring-2 cursor-not-allowed w-4 h-4" disabled="disabled" type="radio" value="visible" name="person[state]" id="person_state_visible" /></div> <div class="ms-2 text-sm"> <label class="font-medium text-fg-disabled" for="person_state_visible">Disabled radio</label> </div></div><!-- Disabled Checked Radio Button --><div class="flex"> <div class="flex items-center h-5"><input class="text-brand bg-neutral-secondary-medium border-default-medium focus:ring-brand focus:ring-2 cursor-not-allowed w-4 h-4" disabled="disabled" type="radio" value="visible" checked="checked" name="person[state]" id="person_state_visible" /></div> <div class="ms-2 text-sm"> <label class="font-medium text-fg-disabled" for="person_state_visible">Disabled checked</label> </div></div>1
2
3
4
5
6
# Disabled Radio Buttonrender(Flowbite::InputField::RadioButton.new(attribute: :state, form: form, label: {content: "Disabled radio"}, value: "visible", disabled: true))# Disabled Checked Radio Buttonperson.state = "visible"render(Flowbite::InputField::RadioButton.new(attribute: :state, form: form, label: {content: "Disabled checked"}, value: "visible", disabled: true))No notes provided.
No params configured.