Sha256: 01f9a2220569ea61873ee9c16842dffe8a657fefdd9ab43c735c99959b5415d6

Contents?: true

Size: 655 Bytes

Versions: 26

Compression:

Stored size: 655 Bytes

Contents

<%
visible_content = component[:attributes][:visible_content].to_s
collapsed_content = component[:attributes][:collapsed_content].to_s
open_label = component[:attributes][:open_label].to_s
%>

<aside class="<%= promethee_class_for component %>">
  <%= visible_content.html_safe %>

  <% if collapsed_content.present? %>
    <div class="collapse" id="aside-collapse-<%= component[:id] %>">
      <%= collapsed_content.html_safe %>
    </div>
    <div>
      <a class="collapse show" href="#aside-collapse-<%= component[:id] %>" data-toggle="collapse" onclick="$(this).collapse('hide')">
        <%= open_label %>
      </a>
    </div>
  <% end %>
</aside>

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
promethee-1.6.5 app/views/promethee/components/aside/_show.html.erb
promethee-1.6.4 app/views/promethee/components/aside/_show.html.erb
promethee-1.6.3 app/views/promethee/components/aside/_show.html.erb
promethee-1.6.2 app/views/promethee/components/aside/_show.html.erb
promethee-1.6.1 app/views/promethee/components/aside/_show.html.erb
promethee-1.6.0 app/views/promethee/components/aside/_show.html.erb
promethee-1.5.4 app/views/promethee/components/aside/_show.html.erb
promethee-1.5.3 app/views/promethee/components/aside/_show.html.erb
promethee-1.5.2 app/views/promethee/components/aside/_show.html.erb
promethee-1.5.0 app/views/promethee/components/aside/_show.html.erb
promethee-1.4.29 app/views/promethee/components/aside/_show.html.erb
promethee-1.4.28 app/views/promethee/components/aside/_show.html.erb
promethee-1.4.27 app/views/promethee/components/aside/_show.html.erb
promethee-1.4.26 app/views/promethee/components/aside/_show.html.erb
promethee-1.4.25 app/views/promethee/components/aside/_show.html.erb
promethee-1.4.24 app/views/promethee/components/aside/_show.html.erb
promethee-1.4.23 app/views/promethee/components/aside/_show.html.erb
promethee-1.4.22 app/views/promethee/components/aside/_show.html.erb
promethee-1.4.21 app/views/promethee/components/aside/_show.html.erb
promethee-1.4.20 app/views/promethee/components/aside/_show.html.erb