lib/generators/nocms/templates/config/initializers/nocms/blocks.rb in nocms-blocks-1.0.0 vs lib/generators/nocms/templates/config/initializers/nocms/blocks.rb in nocms-blocks-1.1.0

- old
+ new

@@ -15,9 +15,17 @@ # # and the admin (if you use the nocms-admin gem) # fields: { # This is the list of fields a block with this layout would have # title: :string, # long_text: :text, # image: Image, # You may use another ActiveRecord classes of your own + # column: { # You can configure the block with more options than just + # # the type of the field. If you use the "quick" configuration + # # all other settings will get the default value + # type: :text, # The type of the field, just as explained before + # translated: true # If the field must store different values for + # # each translation. By default every field is + # # translated + # } # } # allow_nested_blocks: true, # A block with this layout may include a list of nested blocks # # This setting is actually used by nocms-admin gem to show # # nested forms # nest_levels: [0] # Some layout may not be nestable, or useful only in certain nesting level