Sha256: 89cde35c7a21be208b6e860bd4af7af7b1ccc599e6f3e635bfaa0084b180dc1c

Contents?: true

Size: 391 Bytes

Versions: 5

Compression:

Stored size: 391 Bytes

Contents

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
lookbook-1.0.0.beta.5 app/views/lookbook/previews/panels/_content.html.erb
lookbook-1.0.0.beta.4 app/views/lookbook/previews/panels/_content.html.erb
lookbook-1.0.0.beta.3 app/views/lookbook/previews/panels/_content.html.erb
lookbook-1.0.0.beta.2 app/views/lookbook/previews/panels/_content.html.erb
lookbook-1.0.0.beta.1 app/views/lookbook/previews/panels/_content.html.erb