Sha256: b00b23adcc0eb8550568620795ecf7e5f8bfc1192faacc85cfe475c1d1505385

Contents?: true

Size: 505 Bytes

Versions: 6

Compression:

Stored size: 505 Bytes

Contents

<% if @params.none? %>
  <div class="p-4 w-full h-full bg-lookbook-prose-bg" id="params-editor-blank-slate">
    <%= lookbook_render :prose do %>
      <em class='opacity-50'>No params configured.</em>
    <% end %>
  </div>
<% else %>
  <div class="p-4 w-full h-full overflow-x-hidden" id="params-editor-<%= @target.id %>">
    <%= lookbook_render "params/editor" do |editor| %>
      <% @params.each do |param| %>
        <% editor.field param: param %>
      <% end %>
    <% end %>
  </div>
<% end %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
lookbook-1.4.5 app/views/lookbook/inspector/panels/_params.html.erb
lookbook-1.4.4 app/views/lookbook/inspector/panels/_params.html.erb
lookbook-1.4.3 app/views/lookbook/inspector/panels/_params.html.erb
lookbook-1.4.2 app/views/lookbook/inspector/panels/_params.html.erb
lookbook-1.4.1 app/views/lookbook/inspector/panels/_params.html.erb
lookbook-1.4.0 app/views/lookbook/inspector/panels/_params.html.erb