Sha256: a0c7c1dc18ad890cac5541215aec342c2915a115848ac254c58d730c1f0c798f

Contents?: true

Size: 463 Bytes

Versions: 19

Compression:

Stored size: 463 Bytes

Contents

<%
  stylesheets = component[:attributes].dig(:stylesheets, :value)&.to_s&.html_safe
  javascripts = component[:attributes].dig(:javascripts, :value)&.to_s&.html_safe
%>

<% if stylesheets.present? %>
  <style><%= stylesheets %></style>
<% end %>

<% if javascripts.present? %>
  <script><%= javascripts %></script>
<% end %>

<div class="<%= promethee_class_for component %>">
  <%= render 'promethee/show/components', components: component[:children] %>
</div>

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
promethee-4.1.9 app/views/promethee/components/page/_show.html.erb
promethee-4.1.8 app/views/promethee/components/page/_show.html.erb
promethee-4.1.7 app/views/promethee/components/page/_show.html.erb
promethee-4.1.6 app/views/promethee/components/page/_show.html.erb
promethee-4.1.5 app/views/promethee/components/page/_show.html.erb
promethee-4.1.4 app/views/promethee/components/page/_show.html.erb
promethee-4.1.3 app/views/promethee/components/page/_show.html.erb
promethee-4.1.2 app/views/promethee/components/page/_show.html.erb
promethee-4.1.1 app/views/promethee/components/page/_show.html.erb
promethee-4.1.0 app/views/promethee/components/page/_show.html.erb
promethee-4.0.8 app/views/promethee/components/page/_show.html.erb
promethee-4.0.7 app/views/promethee/components/page/_show.html.erb
promethee-4.0.6 app/views/promethee/components/page/_show.html.erb
promethee-4.0.5 app/views/promethee/components/page/_show.html.erb
promethee-4.0.4 app/views/promethee/components/page/_show.html.erb
promethee-4.0.3 app/views/promethee/components/page/_show.html.erb
promethee-4.0.2 app/views/promethee/components/page/_show.html.erb
promethee-4.0.1 app/views/promethee/components/page/_show.html.erb
promethee-4.0.0 app/views/promethee/components/page/_show.html.erb