<commit_before>%h1
  <%= class_name %> controller, index action
%p
  Edit this file in
  %tt
    app/views/<%= file_name %>/index.html.erb
%table
  %tr
<% for property in properties.reject{|p| p.lazy?} -%>
    %th
      <%= DataMapper::Inflection.humanize(property.field) %>
<% end -%>
  - for <%= singular_model %> in @<%= plural_model %>
    %tr
<% for property in properties.reject{|p| p.lazy?} -%>
      %td
        =h <%= singular_model %>.<%= property.getter %>
<% end -%>
      %td
        = link_to 'Show', url(:<%= singular_model %>, <%= singular_model %>)
      %td
        = link_to 'Edit', url(:edit_<%= singular_model %>,  <%= singular_model %>)
      %td
        = delete_button :<%= singular_model %>, <%= singular_model %>

= link_to 'New', url(:new_<%= singular_model %>)<commit_msg>Removed the reference to the delete_button form helper that was generated in the resource controller. * delete_button no longer exists as of 0.9.6<commit_after>%h1
  <%= class_name %> controller, index action
%p
  Edit this file in
  %tt
    app/views/<%= file_name %>/index.html.erb
%table
  %tr
<% for property in properties.reject{|p| p.lazy?} -%>
    %th
      <%= DataMapper::Inflection.humanize(property.field) %>
<% end -%>
  - for <%= singular_model %> in @<%= plural_model %>
    %tr
<% for property in properties.reject{|p| p.lazy?} -%>
      %td
        =h <%= singular_model %>.<%= property.getter %>
<% end -%>
      %td
        = link_to 'Show', url(:<%= singular_model %>, <%= singular_model %>)
      %td
        = link_to 'Edit', url(:edit_<%= singular_model %>,  <%= singular_model %>)

= link_to 'New', url(:new_<%= singular_model %>)
{'fraction_non_alphanumeric': 0.18874773139745918, 'fraction_numerical': 0.0030248033877797943, 'mean_word_length': 3.1662468513853903, 'pattern_counts': {'":': 0, '<': 37, '<?xml version=': 0, '>': 37, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5112463', 'n_tokens_mistral': 627, 'n_tokens_neox': 570, 'n_words': 135}