Sha256: 6d6212ca9dcb4e76c11d1ab1ecad1850e2394a457817b423bb590aa2203d0574

Contents?: true

Size: 882 Bytes

Versions: 3

Compression:

Stored size: 882 Bytes

Contents

- title "<%= human_name %>"

.sub-header
  .button-bar.clearfix
    -#= render :partial => 'search'
    .admin-links
      = link_to 'new <%= singular_table_name %>', new_<%= singular_table_name %>_path, :class => 'newfile tip', :title => "New <%= human_name %>"

.content-wrapper
  -#= will_paginate @<%= plural_table_name %>

  - @<%= plural_table_name %>.each do |<%= singular_table_name %>|
    .index-item
      .clearfix{:style => "float:right"}
        = link_to "", <%= singular_table_name %>, :confirm => 'Are you sure?', :method => :delete, :class => 'ui-icon ui-icon-close destroy tip', :title => "Destroy This Item"
      = link_to <%= singular_table_name %>.<%= attributes.first.name %>.try('capitalize'), edit_<%= singular_table_name %>_path(<%= singular_table_name %>), :class => ' edit tip', :title => "Edit This Item"

  -#= will_paginate @<%= plural_table_name %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
dust-cms-0.0.07 config/generators/templates/haml/scaffold/index.html.haml
dust-cms-0.0.06 config/generators/templates/haml/scaffold/index.html.haml
dust-cms-0.0.05 config/generators/templates/haml/scaffold/index.html.haml