Sha256: 76259256aa394988cd864492358ba65a50ce7f200afbc6783d0240d52fa90fa1
Contents?: true
Size: 599 Bytes
Versions: 12
Compression:
Stored size: 599 Bytes
Contents
= redde_page do |f| - form_column_names.each do |column| = f.redde_field column.to_sym - if column_names.include?('ancestry') = f.redde_select :parent_id, ancestry_tree(model_name.roots.order(:position), title_symbol_for(instance_variable_get("@#{record}"))), include_blank: 'Корневая' -# %div= render 'redditor/admin/page', { f: f } if @article.methods.include?(:page) -# проверить и написать правильное условие -# f.object.class.reflect_on_association(:seo) =# render 'admin/seos/block', { f: f } if f.object.methods.include?(:seo)
Version data entries
12 entries across 12 versions & 1 rubygems