summaryrefslogtreecommitdiff
path: root/lib/generators/nifty/scaffold/templates/views/haml/index.html.haml
blob: b6642ad768435b7b163b67775d450eaa53f0d261 (plain)
1
2
3
4
5
6
- content_for :title, t("<%= plural_name %>.index.page_title")

- if @<%= instances_name %> && @<%= instances_name %>.count > 0
  = render "index_core", :<%= instances_name %> => @<%= instances_name %>

= render :partial => 'shared/create_link', :locals => {:child_class => <%= instances_name.classify %>}