Sha256: 13ed480e92047597c32922ce43d2dc22adede90911f0c4e973ab9986132ee1c2

Contents?: true

Size: 589 Bytes

Versions: 10

Compression:

Stored size: 589 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, options_from_collection_for_select(f.object.class.all, :id, :title, f.object.parent_id), { 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

10 entries across 10 versions & 1 rubygems

Version Path
redde-0.3.10 app/views/admin/base/edit.html.haml
redde-0.3.9 app/views/admin/base/edit.html.haml
redde-0.3.8 app/views/admin/base/edit.html.haml
redde-0.3.7 app/views/admin/base/edit.html.haml
redde-0.3.6 app/views/admin/base/edit.html.haml
redde-0.3.5 app/views/admin/base/edit.html.haml
redde-0.3.4 app/views/admin/base/edit.html.haml
redde-0.3.3 app/views/admin/base/edit.html.haml
redde-0.3.2 app/views/admin/base/edit.html.haml
redde-0.3.1 app/views/admin/base/edit.html.haml