Sha256: 5e6a7fa35f36fabacae0a7c9efb2c471548b120cea3520bd04215d808e47eda9

Contents?: true

Size: 451 Bytes

Versions: 19

Compression:

Stored size: 451 Bytes

Contents

= admin_form_for resource do |f|
  - resource_class.content_columns.map{|c| c.name.to_sym }.without(:created_at, :updated_at).each do |column|
    = f.input column

  - if resource_class.translates?
    = f.locale_tabs do |l|
      - resource_class.translated_attribute_names.each do |column|
        = f.input column, locale: l, as: (:editor if column == :description)

  = f.hidden_field :fileupload_guid if f.object.new_record?

  = f.save_buttons

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
ab_admin-0.11.0 app/views/admin/base/_form.html.slim
ab_admin-0.10.0 app/views/admin/base/_form.html.slim
ab_admin-0.9.0 app/views/admin/base/_form.html.slim
ab_admin-0.8.3 app/views/admin/base/_form.html.slim
ab_admin-0.8.2 app/views/admin/base/_form.html.slim
ab_admin-0.8.1 app/views/admin/base/_form.html.slim
ab_admin-0.8.0 app/views/admin/base/_form.html.slim
ab_admin-0.7.0 app/views/admin/base/_form.html.slim
ab_admin-0.6.1 app/views/admin/base/_form.html.slim
ab_admin-0.6.0 app/views/admin/base/_form.html.slim
ab_admin-0.5.0 app/views/admin/base/_form.html.slim
ab_admin-0.4.0 app/views/admin/base/_form.html.slim
ab_admin-0.3.6 app/views/admin/base/_form.html.slim
ab_admin-0.3.5 app/views/admin/base/_form.html.slim
ab_admin-0.3.4 app/views/admin/base/_form.html.slim
ab_admin-0.3.3 app/views/admin/base/_form.html.slim
ab_admin-0.3.2 app/views/admin/base/_form.html.slim
ab_admin-0.3.1 app/views/admin/base/_form.html.slim
ab_admin-0.3.0 app/views/admin/base/_form.html.slim