19 lines
509 B
Plaintext
19 lines
509 B
Plaintext
= semantic_form_for [:admin,@article], :remote => true do |form|
|
|
.content
|
|
= form.inputs do
|
|
= form.input :folder_id, :as => :hidden
|
|
= form.input :enabled,:as => :boolean , :label => "Actif"
|
|
= form.input :title, :label => "Titre :"
|
|
= form.input :slug, :label => "Slug :"
|
|
|
|
= form.input :description, :label => "Description courte :", :as => :text
|
|
|
|
= form.input :image_file_id, :as => :qi_image_select, :label => "Image :"
|
|
|
|
|
|
|
|
|
|
|
|
.actions
|
|
= form.submit "Sauvegarder"
|