3 <p>Snippets are generally small pieces of content which are included in other pages or layouts.</p>
5 <table id="snippets" class="index" cellpadding="0" cellspacing="0" border="0">
8 <th class="snippet">Snippet</th>
9 <th class="modify">Modify</th>
13 <% unless @snippets.empty? -%>
14 <% for snippet in @snippets -%>
15 <tr class="node level-1">
17 <%= image "snippet", :class => "icon", :alt => 'snippet-icon', :title => '' %>
18 <span><%= link_to snippet.name, snippet_edit_url(:id => snippet) %></span>
20 <td class="remove"><%= link_to image('remove', :alt => 'Remove Snippet'), snippet_remove_url(:id => snippet) %></td>
25 <td colspan="2" class="note">No Snippets</td>
30 <script type="text/javascript">
32 new RuledTable('snippets');
36 <p><%= link_to image('new-snippet', :alt => 'New Snippet'), snippet_new_url %></p>