<% if target.params? %> <%= lb_table do |table| %> <% table.with_header do |header| %> <% header.with_cell("Name", collapse: true) %> <% header.with_cell("Param", collapse: true) %> <% header.with_cell("Description") %> <% header.with_cell("Editor") %> <% end %> <% target.params.each do |param| %> <% table.with_row do |row| %> <% row.with_cell(collapse: true) do %> <%= param.label %> <% end %> <% row.with_cell(collapse: true) do %> <%= param.name %> <% end %> <% row.with_cell do %> <%= param.description || raw("—") %> <% end %> <% row.with_cell do %> <%= render Lookbook::UI::ParamEditor.new(param: param, value: request.query_parameters[param.name]) %> <% end %> <% end %> <% end %> <% end %> <% else %>

No params configured.

<% end %>