Sha256: b0355c51aed3465c652a2edfa4e34c4f1ff12cf3e80da4180ab8aa18cd04995a
Contents?: true
Size: 332 Bytes
Versions: 70
Compression:
Stored size: 332 Bytes
Contents
<% key = attributes.keys.first.to_s widget = @current_site.widgets.where("slug = ?", key).first %> <% if widget.present? %> <% if (r = widget.renderer).present? %> <%= render partial: r, locals: {attributes: attributes } %> <% else %> <%= raw widget[:description].translate %> <% end %> <% end %>
Version data entries
70 entries across 70 versions & 2 rubygems