Nicolas Bally fd027c16c1 initial
2020-04-21 21:53:16 +02:00

19 lines
533 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 :"
.actions=f.submit "sauvegarder", :class => "btn btn-primary"