Sha256: 3979cf4b708017a047bd8c13eb732b3bd5d0ab15460a575c6e9197897619fc62
Contents?: true
Size: 727 Bytes
Versions: 8
Compression:
Stored size: 727 Bytes
Contents
<% linked = (url_for(page_link.url) == params[:current_link]) if params[:current_link].present? -%> <% link_args = defined?(link_to_arguments) ? link_to_arguments : {} %> <li class='clearfix<%= " child#{child}" if child %><%= " linked" if linked%>' id="<%= dom_id(page_link) -%>"> <%= link_to page_link.title_with_meta.html_safe, page_link.url, { :title => t('.link_to_this_page'), :rel => page_link.title, :class => 'page_link' }.merge(link_args) %> </li> <%= render :partial => 'page_link', :collection => page_link.children, :locals => { :child => (child ||= 0) + 1, :link_to_arguments => link_args } if page_link.children.any? -%>
Version data entries
8 entries across 8 versions & 2 rubygems