Sha256: db4a8c1452c8074d357f053002570f22d26ffa1a6d9de05907ead58f9c014dfd
Contents?: true
Size: 588 Bytes
Versions: 25
Compression:
Stored size: 588 Bytes
Contents
<% value = params.key?(param[:name]) ? params[param[:name]] : param[:default] %> <div ref="<%= @example.id %>-param-<%= param[:name] %>-input" class="px-4 py-3" > <div class="flex items-start max-w-[800px]"> <div class="flex-none py-2" :style="`width: ${horizontal ? '200' : '120' }px`"> <label for="param-<%= param[:name] %>" class="font-bold"> <%= param[:name].titleize %> </label> </div> <div class="flex-grow"> <%= render "lookbook/previews/inputs/#{param[:input]}", **param, value: value %> </div> </div> </div>
Version data entries
25 entries across 25 versions & 1 rubygems