2010-05-02 23:33:17 +00:00
|
|
|
- title t('.title')
|
|
|
|
|
|
|
|
- content_for :submenu do
|
|
|
|
= render 'admin/shared/menu/settings'
|
|
|
|
|
|
|
|
- content_for :buttons do
|
2010-07-13 20:01:40 +00:00
|
|
|
= admin_button_tag :new, new_admin_snippet_url, :class => 'new'
|
2010-05-02 23:33:17 +00:00
|
|
|
|
|
|
|
%p= t('.help')
|
|
|
|
|
|
|
|
- if @snippets.empty?
|
|
|
|
%p.no-items= t('.no_items', :url => new_admin_snippet_url)
|
|
|
|
- else
|
|
|
|
%ul#snippets-list.list
|
|
|
|
= render @snippets
|