Sha256: 5dc8131e971437fef21bf135d05c88dceb3f367510076bf6f3e100b2b3ba3ec1

Contents?: true

Size: 939 Bytes

Versions: 44

Compression:

Stored size: 939 Bytes

Contents

<%= render_component_tag :tr, "@keydown.stop": true do %>  
  <td class="param-label">
    <label for="param-<%= param.name %>">
      <span class="mr-0.5"><%== param.label %></span>
      <% if param.hint.present? %>
        <span x-data="tooltipComponent" class="inline-block cursor-help relative top-[2px]">
          <%= icon :help_circle, size: 3.5, class: "opacity-40 hover:opacity-100 transition" %>
          <div class="hidden" x-ref="tooltip">
            <%= param.hint %>
          </div>
        </span>
      <% end %>
    </label>
  </td>
  <td class="param-description <%= "param-description-empty" unless param.description %>">
    <% if param.description %>
      <p class="opacity-70"><%= param.description %></p>
    <% else %>
      <p class="italic opacity-40">&mdash;</p>
    <% end %>
  </td>
  <td class="param-input">
    <div class="param-input-wrapper">
      <%= rendered_input %>
    </div>
  </td>
<% end %>

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
lookbook-2.3.4 app/components/lookbook/params/field/component.html.erb
lookbook-2.3.3 app/components/lookbook/params/field/component.html.erb
lookbook-2.3.2 app/components/lookbook/params/field/component.html.erb
lookbook-2.3.0 app/components/lookbook/params/field/component.html.erb
lookbook-2.2.2 app/components/lookbook/params/field/component.html.erb
lookbook-2.2.1 app/components/lookbook/params/field/component.html.erb
lookbook-2.2.0 app/components/lookbook/params/field/component.html.erb
lookbook-2.1.1 app/components/lookbook/params/field/component.html.erb
lookbook-2.1.0 app/components/lookbook/params/field/component.html.erb
lookbook-2.0.5 app/components/lookbook/params/field/component.html.erb
lookbook-2.0.4 app/components/lookbook/params/field/component.html.erb
lookbook-2.0.3 app/components/lookbook/params/field/component.html.erb
lookbook-2.0.2 app/components/lookbook/params/field/component.html.erb
lookbook-2.0.1 app/components/lookbook/params/field/component.html.erb
lookbook-2.0.0 app/components/lookbook/params/field/component.html.erb
lookbook-2.0.0.rc.3 app/components/lookbook/params/field/component.html.erb
lookbook-1.5.5 app/components/lookbook/params/field/component.html.erb
lookbook-1.5.4 app/components/lookbook/params/field/component.html.erb
lookbook-2.0.0.rc.2 app/components/lookbook/params/field/component.html.erb
lookbook-2.0.0.rc.1 app/components/lookbook/params/field/component.html.erb