Sha256: 28259fee28711caae146f68ca44b6f1483785de0e32224eea74281eca6cd28c4

Contents?: true

Size: 392 Bytes

Versions: 48

Compression:

Stored size: 392 Bytes

Contents

<div class="p-4 bg-lookbook-prose-bg h-full">
  <% if panel.content.present? %>
    <%= lookbook_render :prose, markdown: true do %>
      <%== panel.content %>
    <% end %>
  <% else %>
    <% if Rails.env.development? %>
      <%= lookbook_render :prose do %>
        <em class='opacity-50'>No content has been defined for this panel.</em>
      <% end %>
    <% end %>
  <% end %>
</div>

Version data entries

48 entries across 48 versions & 1 rubygems

Version Path
lookbook-2.3.4 app/views/lookbook/inspector/panels/_content.html.erb
lookbook-2.3.3 app/views/lookbook/inspector/panels/_content.html.erb
lookbook-2.3.2 app/views/lookbook/inspector/panels/_content.html.erb
lookbook-2.3.0 app/views/lookbook/inspector/panels/_content.html.erb
lookbook-2.2.2 app/views/lookbook/inspector/panels/_content.html.erb
lookbook-2.2.1 app/views/lookbook/inspector/panels/_content.html.erb
lookbook-2.2.0 app/views/lookbook/inspector/panels/_content.html.erb
lookbook-2.1.1 app/views/lookbook/inspector/panels/_content.html.erb
lookbook-2.1.0 app/views/lookbook/inspector/panels/_content.html.erb
lookbook-2.0.5 app/views/lookbook/inspector/panels/_content.html.erb
lookbook-2.0.4 app/views/lookbook/inspector/panels/_content.html.erb
lookbook-2.0.3 app/views/lookbook/inspector/panels/_content.html.erb
lookbook-2.0.2 app/views/lookbook/inspector/panels/_content.html.erb
lookbook-2.0.1 app/views/lookbook/inspector/panels/_content.html.erb
lookbook-2.0.0 app/views/lookbook/inspector/panels/_content.html.erb
lookbook-2.0.0.rc.3 app/views/lookbook/inspector/panels/_content.html.erb
lookbook-1.5.5 app/views/lookbook/inspector/panels/_content.html.erb
lookbook-1.5.4 app/views/lookbook/inspector/panels/_content.html.erb
lookbook-2.0.0.rc.2 app/views/lookbook/inspector/panels/_content.html.erb
lookbook-2.0.0.rc.1 app/views/lookbook/inspector/panels/_content.html.erb