Sha256: f6748bb2af93b8524c7692c426a7b8606d934b033a85cf10e25913ea5fd5f4bf

Contents?: true

Size: 352 Bytes

Versions: 13

Compression:

Stored size: 352 Bytes

Contents

<% @title = resource.human %>
<h1><%= @title %> Tree</h1>
<% if records.present? %>
  <%= puffer_tree records, :class => 'puffer_tree' do |record, children| %>
    <%= render :partial => 'record', :object => record, :locals => {:children => children} %>
  <% end %>
<% else %>
  <p>Sorry, but there is no records in <%= resource.human %></p>
<% end %>

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
puffer-0.1.1 app/views/puffer/tree_base/tree.html.erb
puffer-0.1.0 app/views/puffer/tree_base/tree.html.erb
puffer-0.0.32 app/views/puffer/tree_base/tree.html.erb
puffer-0.0.31 app/views/puffer/tree_base/tree.html.erb
puffer-0.0.30 app/views/puffer/tree_base/tree.html.erb
puffer-0.0.29 app/views/puffer/tree_base/tree.html.erb
puffer-0.0.28 app/views/puffer/tree_base/tree.html.erb
puffer-0.0.26 app/views/puffer/tree_base/tree.html.erb
puffer-0.0.25 app/views/puffer/tree_base/tree.html.erb
puffer-0.0.24 app/views/puffer/tree_base/tree.html.erb
puffer-0.0.23 app/views/puffer/tree_base/tree.html.erb
puffer-0.0.22 app/views/puffer/tree_base/tree.html.erb
puffer-0.0.21 app/views/puffer/tree_base/tree.html.erb