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

Version Path
redde-0.3.22 app/views/admin/base/edit.html.haml
redde-0.3.21 app/views/admin/base/edit.html.haml
redde-0.3.20 app/views/admin/base/edit.html.haml
redde-0.3.19 app/views/admin/base/edit.html.haml
redde-0.3.18 app/views/admin/base/edit.html.haml
redde-0.3.17 app/views/admin/base/edit.html.haml
redde-0.3.16 app/views/admin/base/edit.html.haml
redde-0.3.15 app/views/admin/base/edit.html.haml
redde-0.3.14 app/views/admin/base/edit.html.haml
redde-0.3.13 app/views/admin/base/edit.html.haml
redde-0.3.12 app/views/admin/base/edit.html.haml
redde-0.3.11 app/views/admin/base/edit.html.haml