Sha256: e7a828a9e1eabc679e6b7407b7f4532a5eea7acc1a43adda2eaead106f197a57

Contents?: true

Size: 426 Bytes

Versions: 17

Compression:

Stored size: 426 Bytes

Contents

<% if @render_args[:component] %>
  <% if defined?(Phlex::SGML) && @render_args[:component].is_a?(Phlex::SGML) %>
    <%= raw(@render_args[:component].call(view_context: self, &@render_args[:block])) %>
  <% else %>
    <%= render(@render_args[:component], @render_args[:args], &@render_args[:block]) %>
  <% end %>
<% else %>
  <%= render(@render_args[:template], **@render_args[:locals], &@render_args[:block]) %>
<% end %>

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
lookbook-2.3.4 app/views/lookbook/previews/preview.html.erb
lookbook-2.3.3 app/views/lookbook/previews/preview.html.erb
lookbook-2.3.2 app/views/lookbook/previews/preview.html.erb
lookbook-2.3.0 app/views/lookbook/previews/preview.html.erb
lookbook-2.2.2 app/views/lookbook/previews/preview.html.erb
lookbook-2.2.1 app/views/lookbook/previews/preview.html.erb
lookbook-2.2.0 app/views/lookbook/previews/preview.html.erb
lookbook-2.1.1 app/views/lookbook/previews/preview.html.erb
lookbook-2.1.0 app/views/lookbook/previews/preview.html.erb
lookbook-2.0.5 app/views/lookbook/previews/preview.html.erb
lookbook-2.0.4 app/views/lookbook/previews/preview.html.erb
lookbook-2.0.3 app/views/lookbook/previews/preview.html.erb
lookbook-2.0.2 app/views/lookbook/previews/preview.html.erb
lookbook-2.0.1 app/views/lookbook/previews/preview.html.erb
lookbook-2.0.0 app/views/lookbook/previews/preview.html.erb
lookbook-2.0.0.rc.3 app/views/lookbook/previews/preview.html.erb
lookbook-2.0.0.rc.2 app/views/lookbook/previews/preview.html.erb