lib/generators/templates/views/new.html.erb in merb_datamapper-0.9.8 vs lib/generators/templates/views/new.html.erb in merb_datamapper-0.9.9
- old
+ new
@@ -1,17 +1,3 @@
<h1><%= class_name %> controller, new action</h1>
-<p>Edit this file in <tt>app/views/<%= file_name %>/new.html.erb</tt></p>
-
-<%%= form_for(@<%= singular_model %>, :action => url(:<%= plural_model %>) ) do %>
-<% for property in properties.select{|p| !p.key?} -%>
- <p>
- <%%= text_field :<%= property %>, :label => "<%= Extlib::Inflection.humanize(property) %>" %>
- </p>
-
-<% end -%>
- <p>
- <%%= submit "Create" %>
- </p>
-<%% end =%>
-
-<%%= link_to 'Back', url(:<%= plural_model %>) %>
+<p>Edit this file in <tt>app/views/<%= file_name %>/new.html.erb</tt></p>
\ No newline at end of file