app/views/noodall/admin/forms/index.html.erb in noodall-form-builder-0.0.7 vs app/views/noodall/admin/forms/index.html.erb in noodall-form-builder-0.0.8
- old
+ new
@@ -20,10 +20,10 @@
<% @forms.each do |form| %>
<tr id="form-<%= form.id %>" class="<%=cycle('odd', 'even')%>">
<td class="edit"><%= link_to h(form.title), noodall_admin_form_path(form), :class => 'edit', :title => "Edit #{form.title}" %></td>
<td><%= form.email %></td>
<td class="child">
- <%= link_to pluralize(form.responses.ham.size, "Response"), noodall_admin_form_form_responses_path(form), :title => "View responses for #{h(form.title)}", :class => 'child-no' %> <%= link_to 'Download Responses', noodall_admin_form_form_responses_path(form, :csv), :class => 'download', :title => 'Download the responses for this form in CSV format' %></td>
+ <%= link_to pluralize(form.responses.size, "Response"), noodall_admin_form_form_responses_path(form), :title => "View responses for #{h(form.title)}", :class => 'child-no' %> <%= link_to 'Download Responses', noodall_admin_form_form_responses_path(form, :csv), :class => 'download', :title => 'Download the responses for this form in CSV format' %></td>
<td><%= link_to 'Delete', noodall_admin_form_path(form), :confirm => 'Are you sure?', :method => :delete, :class => 'delete', :title => 'Delete this form' %></td>
</tr>
<% end %>
</tbody>
<tfoot>