Sha256: ecb6d9d46ce33ab1388a796345f91c58a581d44d5f44735f0c3843227d7a77f4

Contents?: true

Size: 648 Bytes

Versions: 6

Compression:

Stored size: 648 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 %> aside">
  <%= visible_content.html_safe %>

  <% if collapsed_content.present? %>

      <div class="collapse aside__collapse" id="aside-collapse-<%= component[:id] %>">
        <%= collapsed_content.html_safe %>
      </div>

      <div class="aside__button">
        <a href="#aside-collapse-<%= component[:id] %>" data-toggle="collapse"><%= open_label %></a>
      </div>

  <% end %>

</aside>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
promethee-1.6.13 app/views/promethee/components/aside/_show.html.erb
promethee-1.6.12 app/views/promethee/components/aside/_show.html.erb
promethee-1.6.11 app/views/promethee/components/aside/_show.html.erb
promethee-1.6.10 app/views/promethee/components/aside/_show.html.erb
promethee-1.6.8 app/views/promethee/components/aside/_show.html.erb
promethee-1.6.7 app/views/promethee/components/aside/_show.html.erb