Permalink
Browse files

Merge pull request #29 from universal/gemspec

cleanup of dummy app
  • Loading branch information...
2 parents 22b1e5d + 40ed574 commit 2223ce919e9ddee8417ba7c21bbe528c4309c465 @sethvargo committed Mar 3, 2012
View
8,981 spec/dummy/app/assets/javascripts/jquery.js
0 additions, 8,981 deletions not shown because the diff is too large. Please use a local Git client to view these changes.
View
1 spec/dummy/app/assets/javascripts/jquery_nested_form.js
View
2 spec/dummy/app/assets/javascripts/projects.js
@@ -1,2 +0,0 @@
-// Place all the behaviors and hooks related to the matching controller here.
-// All this logic will automatically be available in application.js.
View
6,082 spec/dummy/app/assets/javascripts/prototype.js
0 additions, 6,082 deletions not shown because the diff is too large. Please use a local Git client to view these changes.
View
1 spec/dummy/app/assets/javascripts/prototype_nested_form.js
View
4 spec/dummy/app/assets/stylesheets/projects.css
@@ -1,4 +0,0 @@
-/*
- Place all the styles related to the matching controller here.
- They will automatically be included in application.css.
-*/
View
14 spec/dummy/app/views/projects/new.html.erb
@@ -1,14 +1,4 @@
-<% if params[:type] == 'prototype' %>
- <%= javascript_include_tag 'prototype', 'prototype_nested_form' %>
-<% else %>
- <%= javascript_include_tag 'jquery', 'jquery_nested_form' %>
-<% end %>
-
-<%= nested_form_for @project do |f| -%>
+<%= bootstrap_form_for @project do |f| -%>
<%= f.text_field :name %>
- <%= f.fields_for :tasks do |ff| -%>
- <%= ff.text_field :name %>
- <%= ff.link_to_remove 'Remove' %>
- <% end -%>
- <%= f.link_to_add 'Add new task', :tasks %>
+ <%= f.submit %>
<% end -%>

0 comments on commit 2223ce9

Please sign in to comment.