engine/app/views/admin/layouts/index.html.haml
2010-07-22 01:56:42 +02:00

16 lines
332 B
Plaintext

- title t('.title')
- content_for :submenu do
= render 'admin/shared/menu/settings'
- content_for :buttons do
= admin_button_tag :new, new_admin_layout_url, :class => 'new'
%p!= t('.help')
- if @layouts.empty?
%p.no-items!= t('.no_items', :url => new_admin_layout_url)
- else
%ul#layouts-list.list
= render @layouts