12 lines
304 B
Plaintext
Executable File
12 lines
304 B
Plaintext
Executable File
=semantic_form_for [:admin, @admin_permission], :remote => true do |f|
|
|
|
|
.content
|
|
=f.inputs do
|
|
|
|
= f.input :name, :label => "Nom :"
|
|
|
|
-if current_admin.super_admin
|
|
= f.input :slug, :label => "Slug :"
|
|
|
|
.actions=f.submit "sauvegarder", :class => "btn btn-primary"
|
|
|