lib/rails/generators/humdrum/resource/templates/views/bootstrap3/resource/new.js.erb in humdrum-rails-0.0.9 vs lib/rails/generators/humdrum/resource/templates/views/bootstrap3/resource/new.js.erb in humdrum-rails-0.1.1
- old
+ new
@@ -1,5 +1,5 @@
-// Show the new form in the right box.
-heading = "Create <%= model_class.titlize %>";
+// Show the new form in the pop up form.
+heading = "Create <%= model_class.titleize %>";
bodyContent = "<%%= escape_javascript(render(:partial=>"form")) %>";
showModal(heading, bodyContent);
validate<%= model_class %>Form();
\ No newline at end of file