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 +8 -8
- data/app/views/caboose/blocks/_checkbox.html.erb +9 -0
- data/lib/caboose/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NjdiMGRkZTc0ZGM4YWVhMjM4MDg1ZTk5MTNkMjRkYzAwN2Q0YjI3ZA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NWQ2ZjM5Njk2YTAyMDJiMTZmNTJmZTJlZDNiYjc0YzBlMWJhOTYyMg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
OTRkMTVhODkzMGU5NjRkMDViMjA1ZmYyNDNhMWRhYTUyM2VkZTY1MjlkYTNl
|
10
|
+
Y2Y4YWM0YmJlYTUxMWJjYjI2MWQxMTRkY2FiNDgwMzgwMzZjMzI1NDBlOTFk
|
11
|
+
Y2VhOTE0MzBiY2MyMzJlYTZmOWY4Nzg1NTFjMzY3OWVlYjQ1ZjE=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
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 %>
|
data/lib/caboose/version.rb
CHANGED
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.
|
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
|