Sha256: e834dc081aaaa43b230c750e8ff097c0fdd0585c8e74438ef8a08e06f88380fa

Contents?: true

Size: 874 Bytes

Versions: 57

Compression:

Stored size: 874 Bytes

Contents

<%
  searchable_visible_content = component[:attributes][:searchable_visible_content].to_s
  searchable_collapsed_content = component[:attributes][:searchable_collapsed_content].to_s
  searchable_open_label = component[:attributes][:searchable_open_label].to_s
  open_label_position = component[:attributes][:open_label_position].to_s
%>

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

  <% if searchable_collapsed_content.present? %>

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

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

  <% end %>

</aside>

Version data entries

57 entries across 57 versions & 1 rubygems

Version Path
promethee-3.0.2 app/views/promethee/components/aside/_show.html.erb
promethee-3.0.1 app/views/promethee/components/aside/_show.html.erb
promethee-3.0.0 app/views/promethee/components/aside/_show.html.erb
promethee-2.1.3 app/views/promethee/components/aside/_show.html.erb
promethee-2.1.2 app/views/promethee/components/aside/_show.html.erb
promethee-2.1.1 app/views/promethee/components/aside/_show.html.erb
promethee-2.1.0 app/views/promethee/components/aside/_show.html.erb
promethee-2.0.9 app/views/promethee/components/aside/_show.html.erb
promethee-2.0.8 app/views/promethee/components/aside/_show.html.erb
promethee-2.0.7 app/views/promethee/components/aside/_show.html.erb
promethee-2.0.6 app/views/promethee/components/aside/_show.html.erb
promethee-2.0.5 app/views/promethee/components/aside/_show.html.erb
promethee-2.0.4 app/views/promethee/components/aside/_show.html.erb
promethee-2.0.3 app/views/promethee/components/aside/_show.html.erb
promethee-2.0.2 app/views/promethee/components/aside/_show.html.erb
promethee-2.0.1 app/views/promethee/components/aside/_show.html.erb
promethee-2.0.0 app/views/promethee/components/aside/_show.html.erb
promethee-1.11.29 app/views/promethee/components/aside/_show.html.erb
promethee-1.11.28 app/views/promethee/components/aside/_show.html.erb
promethee-1.11.27 app/views/promethee/components/aside/_show.html.erb