README.md in cardboard_cms-0.2.1 vs README.md in cardboard_cms-0.2.2
- old
+ new
@@ -23,11 +23,11 @@
## Installation
Add the gem to the `Gemfile`
```ruby
-gem "cardboard_cms", github: "smashingboxes/cardboard"
+gem "cardboard_cms"
```
And run `bundle install`.
Run the generator to install cardboard and it's migrations:
@@ -102,10 +102,16 @@
fields:
image1:
type: image
required: true
default: CrashTest.jpg
- position: 0
+pages:
+ two_column:
+ parts:
+ main:
+ fields:
+ body:
+ type: rich_text
```
pages, parts and fields take identifiers (home_page, slideshow and image1) used to reference the data form the views. Choose these names carefully!
#### Pages