20 lines
594 B
Plaintext
Executable File
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"
|
|
|