Sha256: 5d0c93f431abf3ea3fe362b8b0c957169ef6deaa8e4e4e6465ef5e88ee494984
Contents?: true
Size: 631 Bytes
Versions: 1
Compression:
Stored size: 631 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 = f.input :slug - 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.keywords') do = render 'admin/headers/form', f: f = f.hidden_field :fileupload_guid if f.object.new_record? = f.save_buttons
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ab_admin-0.4.0 | app/views/admin/structures/_form.html.slim |