Sha256: 782d4165fd39d8636552fe0ca29672f200b8f23c353bf99df5752888f9dd803c

Contents?: true

Size: 271 Bytes

Versions: 49

Compression:

Stored size: 271 Bytes

Contents

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

Version data entries

49 entries across 49 versions & 1 rubygems

Version Path
scrivito_sdk-1.11.0 lib/generators/scrivito/page/templates/model.erb
scrivito_sdk-1.11.0.rc1 lib/generators/scrivito/page/templates/model.erb
scrivito_sdk-1.10.0 lib/generators/scrivito/page/templates/model.erb
scrivito_sdk-1.10.0.rc5 lib/generators/scrivito/page/templates/model.erb
scrivito_sdk-1.10.0.rc4 lib/generators/scrivito/page/templates/model.erb
scrivito_sdk-1.10.0.rc3 lib/generators/scrivito/page/templates/model.erb
scrivito_sdk-1.10.0.rc2 lib/generators/scrivito/page/templates/model.erb
scrivito_sdk-1.10.0.rc1 lib/generators/scrivito/page/templates/model.erb
scrivito_sdk-1.9.1 lib/generators/scrivito/page/templates/model.erb
scrivito_sdk-1.9.1.rc1 lib/generators/scrivito/page/templates/model.erb
scrivito_sdk-1.9.0 lib/generators/scrivito/page/templates/model.erb
scrivito_sdk-1.9.0.rc2 lib/generators/scrivito/page/templates/model.erb
scrivito_sdk-1.9.0.rc1 lib/generators/scrivito/page/templates/model.erb
scrivito_sdk-1.8.1 lib/generators/scrivito/page/templates/model.erb
scrivito_sdk-1.8.1.rc1 lib/generators/scrivito/page/templates/model.erb
scrivito_sdk-1.8.0 lib/generators/scrivito/page/templates/model.erb
scrivito_sdk-1.8.0.rc2 lib/generators/scrivito/page/templates/model.erb
scrivito_sdk-1.8.0.rc1 lib/generators/scrivito/page/templates/model.erb
scrivito_sdk-1.7.0 lib/generators/scrivito/page/templates/model.erb
scrivito_sdk-1.7.0.rc2 lib/generators/scrivito/page/templates/model.erb