15 lines
592 B
Plaintext
15 lines
592 B
Plaintext
= semantic_form_for [:admin,@actuality], :remote => true do |form|
|
|
.content
|
|
= form.inputs do
|
|
= form.input :frontpage, :as => :boolean, :label => "Page d'accueil ? : "
|
|
= form.input :start_publish_at,:as => :qi_date_picker , :label => "Est affiché du : "
|
|
= form.input :stop_publish_at,:as => :qi_date_picker , :label => "Au : "
|
|
|
|
= form.input :title, :label => "Titre :"
|
|
= form.input :description, :label => "Description courte :", :as => :text
|
|
= form.input :image_file_id, :label => "Image :", :as => :qi_image_select
|
|
|
|
|
|
.actions
|
|
= form.submit "Sauvegarder"
|
|
|