File: preview.html.erb

package info (click to toggle)
ruby-view-component 4.4.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 472 kB
  • sloc: ruby: 2,278; makefile: 4
file content (5 lines) | stat: -rw-r--r-- 228 bytes parent folder | download
1
2
3
4
5
<% if @render_args[:component] %>
  <%= render(@render_args[:component], @render_args[:args], &@render_args[:block]) %>
<% else %>
  <%= render template: @render_args[:template], locals: @render_args[:locals] || {} %>
<% end %>