Sha256: 9621929a8f85a89ad1d2104ce1c913ce290f14940d5dcd6856874ca4d5a8f3eb

Contents?: true

Size: 615 Bytes

Versions: 8

Compression:

Stored size: 615 Bytes

Contents

<li id="<%= path.id %>" class="tree-item">
  <span><%= path.content.name %> </span>
  <a href="#" onclick="toggle_content_form(<%= path.id %>)">+</a>

  <%= render(:partial => "content_form", :locals => {:path => path}) %>

  <%= link_to 'Public View', "/inkling" + path.slug %>, 
  <%= link_to 'Show', polymorphic_path(path.content) %>, 
  <%= link_to 'Edit', edit_polymorphic_path(path.content) %>,  
  <%= link_to 'Delete', polymorphic_path(path.content), :method => :delete %> 

  <% if path.children %>
    <ul>
      <%= render(:partial => "path", :collection => path.children) %>
    </ul>
  <% end %>
</li>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
inkling-0.1.0 app/views/inkling/paths/_path.html.erb
inkling-0.0.9 app/views/inkling/paths/_path.html.erb
inkling-0.0.8 app/views/inkling/paths/_path.html.erb
inkling-0.0.7 app/views/inkling/paths/_path.html.erb
inkling-0.0.5 app/views/inkling/paths/_path.html.erb
inkling-0.0.4 app/views/inkling/paths/_path.html.erb
inkling-0.0.3a app/views/inkling/paths/_path.html.erb
inkling-0.0.3 app/views/inkling/paths/_path.html.erb