Sha256: aebd3e889586534d488a7f1d5343a2a14e32402ddb567d5797e6aae1ee39cd7a
Contents?: true
Size: 690 Bytes
Versions: 5
Compression:
Stored size: 690 Bytes
Contents
= admin_form_for @structure do |f| = f.locale_tabs do |l| = f.input :title, locale: l = f.input :redirect_url, locale: l, as: :string - Structure.simple_slug_columns.each do |column| = f.input column - if @structure.moveable? = f.input :parent, as: :tree_select = f.input :structure_type_id, collection: StructureType.all = f.input :position_type_id, collection: PositionType.all, include_blank: false = f.input :is_visible = f.input :picture, as: :uploader = f.input :pictures, as: :uploader = input_set t('admin.form.keywords') do = render 'admin/headers/form', f: f = f.hidden_field :fileupload_guid if f.object.new_record? = f.save_buttons
Version data entries
5 entries across 5 versions & 1 rubygems