Sha256: 7e42296e19d598d8315344bc48b5a4e30391800d6afa9aa89cc1da160157d4bf

Contents?: true

Size: 603 Bytes

Versions: 17

Compression:

Stored size: 603 Bytes

Contents

= redde_page do |f|
  - form_column_names.each do |column|
    - if column == 'ancestry'
      = f.redde_select :parent_id, ancestry_tree(model_name.roots.order(:position), title_symbol_for(instance_variable_get("@#{record}"))), include_blank: 'Корневая'
    - else
      = f.redde_field column.to_sym

  -# %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

17 entries across 17 versions & 1 rubygems

Version Path
redde-0.3.39 app/views/admin/base/edit.html.haml
redde-0.3.38 app/views/admin/base/edit.html.haml
redde-0.3.37 app/views/admin/base/edit.html.haml
redde-0.3.36 app/views/admin/base/edit.html.haml
redde-0.3.35 app/views/admin/base/edit.html.haml
redde-0.3.34 app/views/admin/base/edit.html.haml
redde-0.3.33 app/views/admin/base/edit.html.haml
redde-0.3.32 app/views/admin/base/edit.html.haml
redde-0.3.31 app/views/admin/base/edit.html.haml
redde-0.3.30 app/views/admin/base/edit.html.haml
redde-0.3.29 app/views/admin/base/edit.html.haml
redde-0.3.28 app/views/admin/base/edit.html.haml
redde-0.3.27 app/views/admin/base/edit.html.haml
redde-0.3.26 app/views/admin/base/edit.html.haml
redde-0.3.25 app/views/admin/base/edit.html.haml
redde-0.3.24 app/views/admin/base/edit.html.haml
redde-0.3.23 app/views/admin/base/edit.html.haml