This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
2011-04-13 10:19:51 +00:00
|
|
|
<h1><%= t('admin.list_snippets') %></h1>
|
2010-01-14 10:30:53 +00:00
|
|
|
|
|
|
|
<table>
|
|
|
|
<tr>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<% snippets.each do |snippet| %>
|
|
|
|
<tr>
|
|
|
|
<td><%= snippet.name %></td>
|
|
|
|
<td><%= link_to t(:show), admin_snippet_path(snippet) %>
|
|
|
|
<td><%= link_to t(:edit), edit_admin_snippet_path(snippet) %></td>
|
2011-04-13 10:19:51 +00:00
|
|
|
<td><%= link_to t(:delete), admin_snippet_path(snippet), :confirm => t('sure?'), :method => :delete %></td>
|
2010-01-14 10:30:53 +00:00
|
|
|
</tr>
|
2011-04-13 10:19:51 +00:00
|
|
|
<% end if snippets%>
|
2010-01-14 10:30:53 +00:00
|
|
|
</table>
|