This repository has been archived on 2021-11-24. You can view files and clone it, but cannot push or open issues or pull requests.

20 lines
594 B
Plaintext
Executable File

=semantic_form_for [:admin, @admin_permission], :remote => true do |f|
.content
=f.inputs do
= f.input :parent_id, :label => "Parent :" , :collection => AdminPermission.all(), :as => :select, :member_label => :member_label
= f.input :code, :label => "Code :"
= f.input :name, :label => "Nom :"
= f.input :slug, :label => "Slug :"
= f.input :position, :label => "Position :"
=render :partial => "qi/actions", :locals => {:f => f}
/.actions=f.submit "sauvegarder", :class => "btn btn-primary"