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