cms-fortress 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/app/views/admin/cms/pages/_form.html.haml +2 -2
- data/cms-fortress.gemspec +1 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.1
|
@@ -31,10 +31,10 @@
|
|
31
31
|
= render :partial => 'form_blocks'
|
32
32
|
|
33
33
|
=# form.check_box :is_published, :label => t('.is_published')
|
34
|
-
|
34
|
+
- @page.page_workflow ||= Cms::PageWorkflow.new
|
35
35
|
= form.fields_for :page_workflow do |wf|
|
36
36
|
= wf.select :status_id, Cms::PageWorkflow.statuses_for_select, {}, {class: "status-control"}
|
37
|
-
= wf.text_field :published_date, class: "status-control", :data => {:utc_date => @page.page_workflow.published_date.utc.strftime("%d %B, %Y")}
|
37
|
+
= wf.text_field :published_date, class: "status-control", :data => {:utc_date => (@page.page_workflow.published_date.nil? ? Time.now : @page.page_workflow.published_date).utc.strftime("%d %B, %Y") }
|
38
38
|
|
39
39
|
= render 'admin/cms/partials/page_form_after', :object => form
|
40
40
|
|
data/cms-fortress.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cms-fortress
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -278,7 +278,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
278
278
|
version: '0'
|
279
279
|
segments:
|
280
280
|
- 0
|
281
|
-
hash: -
|
281
|
+
hash: -4068317085976911583
|
282
282
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
283
283
|
none: false
|
284
284
|
requirements:
|