Sha256: 3b1c024558a5c2821fb78dd145f9960336d7f4c3c4a9a850fd57b289b68303be

Contents?: true

Size: 614 Bytes

Versions: 6

Compression:

Stored size: 614 Bytes

Contents

= admin_form_for @structure do |f|
  = f.locale_tabs do |l|
    = f.input :title, locale: l
    = f.input :redirect_url, locale: l

  = f.input :slug
  - if @structure.moveable?
    = f.input :parent, as: :tree_select
  = f.input :kind, collection: StructureType.all
  = f.input :position, collection: PositionType.all, include_blank: false

  = f.input :is_visible

  = input_set t('admin.pictures') do
    = f.attach_file_field :picture, file_max_size: 2

  = input_set t('admin.keywords') do
    = render 'admin/headers/form', f: f

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ab_admin-0.3.5 app/views/admin/structures/_form.html.slim
ab_admin-0.3.4 app/views/admin/structures/_form.html.slim
ab_admin-0.3.3 app/views/admin/structures/_form.html.slim
ab_admin-0.3.2 app/views/admin/structures/_form.html.slim
ab_admin-0.3.1 app/views/admin/structures/_form.html.slim
ab_admin-0.3.0 app/views/admin/structures/_form.html.slim