lib/generators/scrivito/page/templates/model.erb in scrivito_sdk-1.17.0 vs lib/generators/scrivito/page/templates/model.erb in scrivito_sdk-1.18.0.rc1

- old
+ new

@@ -1,9 +1,9 @@ class <%= class_name %> < Obj attribute :title, :string attribute :body, :widgetlist attribute :child_order, :referencelist attribute :tags, :stringlist -<% attributes.each do |attr| -%> +<% attrs.each do |attr| -%> <%= Scrivito::GeneratorHelper.attribute_definition(attr) %> <% end -%> end