Sha256: 5170d056c48486e2304e8faea3f4847b2e37ec0ba413dabe048884cae8145634
Contents?: true
Size: 567 Bytes
Versions: 4
Compression:
Stored size: 567 Bytes
Contents
<tr class="row <%= cycle 'one', 'two' %><%= " child-of-#{page.parent_id}" if page.parent_id %>"> <td style="padding-left:<%= indent * 10 + 5 %>;"><%= link_to page.name, admin_page_path(page) %></td> <td><%= link_to url = page_url(page.url), url %></td> <td class="actions"> <%= button_link_to 'Edit', edit_admin_page_path(page), :icon => :edit %> <%= button_link_to 'Delete', delete_admin_page_path(page), :icon => :delete %> </td> </tr> <%= render :partial => 'row', :collection => page.children, :as => :page, :locals => {:indent => indent.next} %>
Version data entries
4 entries across 4 versions & 1 rubygems