11 lines
425 B
Plaintext
Executable File
11 lines
425 B
Plaintext
Executable File
=semantic_form_for [:admin, @admin_role], :remote => true do |f|
|
|
|
|
.content
|
|
=f.inputs do
|
|
|
|
= f.input :name, :label => "Nom :"
|
|
|
|
=f.input :admin_permissions, :label => "Permissions :", :collection => AdminPermission.all, :as => :check_boxes, :member_label => :member_label
|
|
=render :partial => "qi/actions", :locals => {:f => f}
|
|
/.actions=f.submit "sauvegarder", :class => "btn btn-primary"
|
|
|