Sha256: fd35a4dc286bc66f96583e2cab432cbf8484dc7d25cba0f42e4ef7e398bc7329
Contents?: true
Size: 711 Bytes
Versions: 9
Compression:
Stored size: 711 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 } -%>
Version data entries
9 entries across 9 versions & 1 rubygems