Sha256: fe50c05c529aad8356bb4a6a31abd154f621dd6b6c625ec1e320139f6085da47

Contents?: true

Size: 874 Bytes

Versions: 2

Compression:

Stored size: 874 Bytes

Contents

<div class="module box <%= renderer.container_class %>"<%=raw renderer.collapsible? && %Q{ data-toggle="#{renderer.id}"} || nil %>>
  <%= content_tag(:div, class: 'module-heading ' + renderer.heading_class, onclick: (renderer.saving_state_enabled? && 'EasyToggler.toggle(this.nextElementSibling, event)' || nil)) do %>
    <span class="expander module-toggler">&nbsp;</span>
    <%= content_tag(renderer.heading_tag, renderer.heading, class: renderer.icon) %>
    <%= content_tag(:span, renderer.heading_links, class: 'module-heading-links') if renderer.heading_links %>
  <% end %>
  <div class="module-content" id="<%= renderer.id %>"<%=raw renderer.collapsed? && %q{ style="display:none"} || nil %>>
    <%= content -%>
    <%= content_tag(:div, class: 'module-content-footer') do %>
      <%= renderer.footer %>
    <% end if renderer.footer.present? %>
  </div>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
redmine_extensions-0.1.02 app/views/common/_collapsible_module_layout.html.erb
redmine_extensions-0.1.01 app/views/common/_collapsible_module_layout.html.erb