foodsoft/app/views/article_categories/index.html.haml

20 lines
689 B
Text
Raw Normal View History

2009-01-18 17:42:51 +01:00
- title "Artikelkategorien"
.left_column{:style => "width:50em"}
.box_title
%h2 Artikelkategorien
.column_content#categories
2011-05-18 16:10:30 +02:00
%table
%tr
%th Name
%th Beschreibung
%th
- for article_category in ArticleCategory.all
%tr{:class => cycle("even","odd", :name => 'category')}[article_category]
%td= article_category.name
%td= article_category.description
%td
= link_to icon(:edit), edit_article_category_path(article_category)
= link_to icon(:delete), article_category, :method => :delete, :confirm => 'Are you sure?'
%p= link_to 'Neue Kategorie anlegen', new_article_category_path