pages_cms 0.2.2 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5b5eb0716f7ff7f8cc344ce4c952130abfc212c7
4
- data.tar.gz: 9ed267dcc0789af16000d42ad2d7f49eb7794248
3
+ metadata.gz: 4fa71e7346422dde45ee7984d6e1b4e5aedfec26
4
+ data.tar.gz: 13405f372ec968a1343925a06d521af3c5683227
5
5
  SHA512:
6
- metadata.gz: 8e94e9a0bec5aafb357845e7aeedb5807dbfdc888895a87b101b6933fdc1bfc70d5c4843d05212aca0c33dbbb291345792bfe8b37321ff8a87a0d3a63f71b522
7
- data.tar.gz: 45d9cc401954d9e3b512652c2cc0bd9eb5950a959170f952063c05c5583bfd32d6f33d2e9e7905e2eac0cab9333c95015f790fd0138c5787b0d868dc696a9413
6
+ metadata.gz: e9215cbdf996985666c560a1e26cecbefa58745b74e0686d601a0f156a87af836868fdcd7efbcf41d92244edda51c2da5d3d2d294c13924d148d6b932adbfa02
7
+ data.tar.gz: c3ea627ec961dc53a054f2f2ca56e2394f0de8d564c211a17bfd19c5885b4cf02f1767c76457fa94a6d7f0425e0ad67d316b3316ecd03565005ce04f05011ab4
data/README.md CHANGED
@@ -14,7 +14,7 @@ Pages CMS uses nested forms and draggable items to allow the user to build a sit
14
14
 
15
15
  ## Installation
16
16
 
17
- 1. Add: `gem 'pages_cms'` to your `Gemfile`
17
+ 1. Add: `gem 'pages_cms', '~> 0.2.2'` to your `Gemfile`
18
18
  2. Run: `$ rails generate pages_cms:install`
19
19
  3. Add: `//= require cocoon` to your `application.js` file
20
20
 
@@ -42,8 +42,6 @@
42
42
  %h4 Sidebar
43
43
  = f.fields_for :sidebar, @sidebar do |ss|
44
44
  = render 'editor', f: ss
45
- %input.form-control.inline-form{ id: 'add_sid', placeholder: 'add link' }
46
- %a{ href: '#', onclick: 'addOption("select_sid", "add_sid")' } Add
47
45
  = ss.label 'Show sidebar on this page'
48
46
  = ss.check_box :show
49
47
  = ss.select(:use_instead, PagesCms::Page.all.includes(:sidebar).collect {|p| [p.title, p.sidebar.id] unless p.sidebar.nil? }, {include_blank: 'Use this sidebar instead'}, class: 'form-control inline-form', id: 'select_sid')
@@ -1,3 +1,3 @@
1
1
  module PagesCms
2
- VERSION = "0.2.2"
2
+ VERSION = "0.2.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pages_cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Colin Walker