caboose-cms 0.5.92 → 0.5.93

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- OWFhMThiOWJkNGM5MTJkYmNhZTlmOGMwMWUyY2I2MWEzYWM4ZjI0MQ==
4
+ NjdiMGRkZTc0ZGM4YWVhMjM4MDg1ZTk5MTNkMjRkYzAwN2Q0YjI3ZA==
5
5
  data.tar.gz: !binary |-
6
- ZmMyNmZiMTk1MjgwZTFhODkzYzViY2NhYzgzNGNhM2VhZjQ0ZmY0ZQ==
6
+ NWQ2ZjM5Njk2YTAyMDJiMTZmNTJmZTJlZDNiYjc0YzBlMWJhOTYyMg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YTI1YTY1NDhjNWQ5YWQ1Y2U1MTEwOWM5MDMyNDM2MTM5NTM3ZjJkODEyM2Mz
10
- MWYzNjNlZTc4MDUyMzk3N2Q1OTg5OWY3MDQ3NWIzYzRjNWE2ZjJhMTdmYWM5
11
- NDk1ZmE1NjYzOWY5MzI4NjkxNzY0N2U3MDk0NGNjNWI5ZDliMzA=
9
+ OTRkMTVhODkzMGU5NjRkMDViMjA1ZmYyNDNhMWRhYTUyM2VkZTY1MjlkYTNl
10
+ Y2Y4YWM0YmJlYTUxMWJjYjI2MWQxMTRkY2FiNDgwMzgwMzZjMzI1NDBlOTFk
11
+ Y2VhOTE0MzBiY2MyMzJlYTZmOWY4Nzg1NTFjMzY3OWVlYjQ1ZjE=
12
12
  data.tar.gz: !binary |-
13
- NTU3YjQ3YTQ2MzZhNDBkMWQzOTM5MWI2ZmNiMjRmYTQ2ZWQ5NWJjY2JmODFj
14
- OGI4NTMyOGE5ZjFjNGYxMmM0NjA0ZmI1MDU4Nzk0ODgwMjlkYWY5N2EwYTc5
15
- NjA4NzEwYjAyN2NiOWIwOWEyZDZiMzlmMDYxMmYzNDAwNGQ5NGY=
13
+ YWE0NTg4NDJjMjAzZTY3ZmQxMjM1ZDZiZTJiMDMxOGQ0NThjMjZkNTNiMzQ5
14
+ OTNkMGQ2ZDM5MjY4ZGMxYjEwNmYzZTRlYzk1YTFkOTdmMDI1YTI4OGI2YjU0
15
+ OWRiNTUwMzVjNzZjODhmMWI4YjAwNzY3YzQ1M2EyODk4NmRiZGQ=
@@ -0,0 +1,9 @@
1
+ <%
2
+ checked = block.value.to_i
3
+ checked = checked == 1 ? true : false
4
+ %>
5
+ <% if editing %>
6
+ <div id='block_<%= block.id %>'><%= raw block.block_type.description %> = <%= (checked ? "Yes" : "No") %></div>
7
+ <% else %>
8
+ <%= raw block.block_type.description %>
9
+ <% end %>
@@ -1,3 +1,3 @@
1
1
  module Caboose
2
- VERSION = '0.5.92'
2
+ VERSION = '0.5.93'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: caboose-cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.92
4
+ version: 0.5.93
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Barry
@@ -650,6 +650,7 @@ files:
650
650
  - app/views/caboose/block_types/admin_index.html.erb
651
651
  - app/views/caboose/block_types/admin_new.html.erb
652
652
  - app/views/caboose/blocks/_block.html.erb
653
+ - app/views/caboose/blocks/_checkbox.html.erb
653
654
  - app/views/caboose/blocks/_controller_view_content.html.erb
654
655
  - app/views/caboose/blocks/_file.html.erb
655
656
  - app/views/caboose/blocks/_heading.html.erb