Sha256: e7a38124eaf7a917b0ece66a50a6ac72d2bca34d58923b12c60b817cdc62de73

Contents?: true

Size: 515 Bytes

Versions: 12

Compression:

Stored size: 515 Bytes

Contents

<h1><%= tree.size %></h1>

<div class='tree_block'>
  <ol class='tree'>
    <%= server_build_tree(tree) %>
  </ol>
</div>

<% unless tree.blank? %>
  <i class='render_tree' style='display:none' data-locale="<%= t(:tree).to_json %>" data-klass="<%= opts[:klass] %>" data-plural="<%= opts[:klass].pluralize %>">
  </i>
<% end %>

<% tree.each do |item| %>

  <li>
    <div class='item'>
    <h4><a href='#'><%= item.title %></a></h4>
    <p><%=  item.content %></p>
    </div>
  </li>

<% end %>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
the_sortable_tree-2.6.1 app/views/tree/client/_tree.html.erb
the_sortable_tree-2.6.0 app/views/tree/client/_tree.html.erb
the_sortable_tree-2.5.0 app/views/tree/client/_tree.html.erb
the_sortable_tree-2.4.0 app/views/tree/client/_tree.html.erb
the_sortable_tree-2.3.3 app/views/tree/client/_tree.html.erb
the_sortable_tree-2.3.2 app/views/tree/client/_tree.html.erb
the_sortable_tree-2.3.1 app/views/tree/client/_tree.html.erb
the_sortable_tree-2.3.0 app/views/tree/client/_tree.html.erb
the_sortable_tree-2.2.1 app/views/tree/client/_tree.html.erb
the_sortable_tree-2.2.0 app/views/tree/client/_tree.html.erb
the_sortable_tree-2.1.0 app/views/tree/client/_tree.html.erb
the_sortable_tree-2.0.0 app/views/tree/client/_tree.html.erb