comfortable_mexican_sofa 2.0.16 → 2.0.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/app/views/comfy/admin/cms/layouts/_form.html.haml +2 -2
- data/app/views/comfy/admin/cms/pages/_form.html.haml +3 -3
- data/app/views/comfy/admin/cms/sites/_form.html.haml +3 -1
- data/lib/comfortable_mexican_sofa/content/tags/datetime.rb +2 -0
- data/lib/comfortable_mexican_sofa/engine.rb +1 -1
- data/lib/comfortable_mexican_sofa/form_builder.rb +1 -1
- data/lib/comfortable_mexican_sofa/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 1de2082d0f04ab3482b9ca303ce5cb2a0742c931
|
4
|
+
data.tar.gz: 353bdb2b41ec035eb182d8fd96eaba92c2cf1e29
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d1a02dc6c122018580e2653b062ab52c2d1c3085652f60477a47ec0c8706ffe1a65bd9d698fd25a36cca4592fc581ec0460551250bca66b44c60b7b2c4171428
|
7
|
+
data.tar.gz: e668efc2fb6e753fe786bf73f33ee5a4ce7a5562a2ef70f93fec110328b3696dacde1652e39914f8cbf4a7599bb297e93058733e4c15fae2fb4cc92c0b0b492c
|
@@ -4,10 +4,10 @@
|
|
4
4
|
= form.text_field :identifier, data: {slug: true}
|
5
5
|
|
6
6
|
- if (options = Comfy::Cms::Layout.options_for_select(@site, @layout)).present?
|
7
|
-
= form.select :parent_id, [["---- #{t('.select_parent_layout')} ----", nil]] + options
|
7
|
+
= form.select :parent_id, [["---- #{t('.select_parent_layout')} ----", nil]] + options, bootstrap: {custom_control: true}
|
8
8
|
|
9
9
|
- if (options = Comfy::Cms::Layout.app_layouts_for_select(lookup_context.view_paths)).present?
|
10
|
-
= form.select :app_layout, [["---- #{t('.select_app_layout')} ----", nil]] + options
|
10
|
+
= form.select :app_layout, [["---- #{t('.select_app_layout')} ----", nil]] + options, bootstrap: {custom_control: true}
|
11
11
|
|
12
12
|
= form.text_area :content, data: {'cms-cm-mode' => 'text/html'}
|
13
13
|
= form.text_area :css, data: {'cms-cm-mode' => 'css'}
|
@@ -6,10 +6,10 @@
|
|
6
6
|
= form.text_field :slug, data: { slug: true }, prepend: @page.parent.full_path
|
7
7
|
|
8
8
|
- if (options = ::Comfy::Cms::Page.options_for_select(site: @site, page: @page, exclude_self: true)).present?
|
9
|
-
= form.select :parent_id, options
|
9
|
+
= form.select :parent_id, options, bootstrap: {custom_control: true}
|
10
10
|
|
11
11
|
- if (options = ::Comfy::Cms::Layout.options_for_select(@site)).present?
|
12
|
-
= form.select :layout_id, options, {}, {data: {url: form_fragments_comfy_admin_cms_site_page_path(@site, @page.id.to_i)}, id: "fragments-toggle"}
|
12
|
+
= form.select :layout_id, options, {bootstrap: {custom_control: true}}, {data: {url: form_fragments_comfy_admin_cms_site_page_path(@site, @page.id.to_i)}, id: "fragments-toggle"}
|
13
13
|
|
14
14
|
= comfy_admin_partial "comfy/admin/cms/partials/page_form_inner", form: form
|
15
15
|
|
@@ -19,7 +19,7 @@
|
|
19
19
|
= render "comfy/admin/cms/categories/form", form: form
|
20
20
|
|
21
21
|
- if (options = ::Comfy::Cms::Page.options_for_select(site: @site, page: @page)).present?
|
22
|
-
= form.select :target_page_id, [["---- #{t('.select_target_page')} ----", nil]] + options
|
22
|
+
= form.select :target_page_id, [["---- #{t('.select_target_page')} ----", nil]] + options, bootstrap: {custom_control: true}
|
23
23
|
|
24
24
|
= form.check_box :is_published
|
25
25
|
|
@@ -4,7 +4,9 @@
|
|
4
4
|
= form.text_field :identifier, data: {slug: true}
|
5
5
|
= form.text_field :hostname
|
6
6
|
= form.text_field :path
|
7
|
-
|
7
|
+
|
8
|
+
- locales = ComfortableMexicanSofa.config.locales.to_a.collect{|l| ["#{l[1]} (#{l[0]})", l[0]]}
|
9
|
+
= form.select :locale, locales, bootstrap: {custom_control: true}
|
8
10
|
|
9
11
|
= comfy_admin_partial "comfy/admin/cms/partials/site_form_after", form: form
|
10
12
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: comfortable_mexican_sofa
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.17
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Oleg Khabarov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-06-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: active_link_to
|
@@ -634,7 +634,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
634
634
|
version: '0'
|
635
635
|
requirements: []
|
636
636
|
rubyforge_project:
|
637
|
-
rubygems_version: 2.
|
637
|
+
rubygems_version: 2.5.1
|
638
638
|
signing_key:
|
639
639
|
specification_version: 4
|
640
640
|
summary: Rails 5.2+ CMS Engine
|