Commit fe2678f5a43ac2fd4b06e80e2a99dea7f0d9993a

Authored by Karpikau Andrei
1 parent 476be7ee

add flag main field for element

... ... @@ -98,7 +98,7 @@ module Kanjai
98 98 @type_contents += page_template.template_parts.where("part_type in ('content')").collect{|p| [p.name, p.code] }
99 99 page_template.template_parts.where("part_type in ('content')").each do |item|
100 100 item.field_options.each do |el|
101   - @main_field << el[:name] if el[:mail].to_i == 1
  101 + @main_field << el[:name] if el[:main].to_i == 1
102 102 end
103 103 end
104 104 end
... ...
1 1 module Kanjai
2   - VERSION = "0.0.113"
  2 + VERSION = "0.0.114"
3 3 end
... ...