lib/generators/erb/templates/index.html.erb in acts-as-approvable-0.6.4 vs lib/generators/erb/templates/index.html.erb in acts-as-approvable-0.6.5
- old
+ new
@@ -11,5 +11,7 @@
<%%= f.select(:item_type, options_for_select(Approval.options_for_type, @conditions[:item_type]), :prompt => 'All Types') %>
<%%= f.submit('Filter') %>
<%% end %>
<%%= render :partial => @table_partial %>
+<% if scripts? %>
+<%%= javascript_include_tag 'jquery.form.js', 'approvals.js' %><% end %>