Sha256: 28d98391713a5d3253b4152118531f46ba683b589ae139f14b49f7f2d03bd59b
Contents?: true
Size: 618 Bytes
Versions: 4
Compression:
Stored size: 618 Bytes
Contents
<% visible_content = component[:attributes][:visible_content].to_s collapsed_content = component[:attributes][:collapsed_content].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 href="#aside-collapse-<%= component[:id] %>" data-toggle="collapse" onclick="this.textContent = $(this.getAttribute('href')).is(':visible') ? 'Read more' : 'Reduce'">Read more</a> </div> <% end %> </aside>
Version data entries
4 entries across 4 versions & 1 rubygems