Sha256: 3dfe2f7dd9f3fc8005ec55017607d2e2e53220205ced12556ff6ead4312456da

Contents?: true

Size: 509 Bytes

Versions: 24

Compression:

Stored size: 509 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 %>"
      id="<%= promethee_id_for component %>">
  <%= render 'promethee/show/components', components: component[:children] %>
</div>

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
promethee-5.1.1 app/views/promethee/components/page/_show.html.erb
promethee-5.1.0 app/views/promethee/components/page/_show.html.erb
promethee-5.0.2 app/views/promethee/components/page/_show.html.erb
promethee-5.0.1 app/views/promethee/components/page/_show.html.erb
promethee-5.0.0 app/views/promethee/components/page/_show.html.erb
promethee-4.1.28 app/views/promethee/components/page/_show.html.erb
promethee-4.1.27 app/views/promethee/components/page/_show.html.erb
promethee-4.1.26 app/views/promethee/components/page/_show.html.erb
promethee-4.1.25 app/views/promethee/components/page/_show.html.erb
promethee-4.1.24 app/views/promethee/components/page/_show.html.erb
promethee-4.1.23 app/views/promethee/components/page/_show.html.erb
promethee-4.1.22 app/views/promethee/components/page/_show.html.erb
promethee-4.1.21 app/views/promethee/components/page/_show.html.erb
promethee-4.1.20 app/views/promethee/components/page/_show.html.erb
promethee-4.1.19 app/views/promethee/components/page/_show.html.erb
promethee-4.1.18 app/views/promethee/components/page/_show.html.erb
promethee-4.1.17 app/views/promethee/components/page/_show.html.erb
promethee-4.1.16 app/views/promethee/components/page/_show.html.erb
promethee-4.1.15 app/views/promethee/components/page/_show.html.erb
promethee-4.1.14 app/views/promethee/components/page/_show.html.erb