activeadmin-selleo-cms 0.0.28 → 0.0.29

Sign up to get free protection for your applications and to get access to all the features.
@@ -9,7 +9,7 @@
9
9
  = form.input :meta_description, input_html: { rows: 3, class: 'link-url-hide' }
10
10
  = form.input :locale, :as => :hidden, :label => false
11
11
  -#- unless @page.new_record?
12
- - @section_forms.each do |section_form|
12
+ - @section_forms.sort_by{|sf| sf.object.name}.each do |section_form|
13
13
  %section{:name => section_form.object.name}
14
14
  = section_form.semantic_fields_for :translations do |section_form_translated|
15
15
  - if section_form_translated.object.locale.to_sym == locale.code
@@ -1 +1 @@
1
- <%= ActiveadminSelleoCms::Page.published.reorder("lft ASC").map{|p| [p.to_label, with_host(p.url(locale: false))]}.to_json.html_safe %>
1
+ <%= ActiveadminSelleoCms::Page.published.reorder("lft ASC").map{|p| [p.to_label, p.url(locale: false)]}.to_json.html_safe %>
@@ -1,3 +1,3 @@
1
1
  module ActiveadminSelleoCms
2
- VERSION = "0.0.28"
2
+ VERSION = "0.0.29"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activeadmin-selleo-cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.28
4
+ version: 0.0.29
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-03-28 00:00:00.000000000 Z
12
+ date: 2013-03-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails