boissier_app/app/views/admin/slides/_form.html.haml
2011-07-08 18:33:11 +02:00

21 lines
493 B
Plaintext

= semantic_form_for [:admin,@slide], :remote => true do |form|
.content
= form.inputs do
= form.input :slider_id, :as => :hidden
= form.input :title, :label => "Titre :"
= form.input :description, :label => "Description courte :", :as => :text, :class => "text_editor"
= form.input :image_file_id, :label => "Image :" , :as => :qi_image_select
= form.input :cible, :label => "Cible :" , :as => :qi_cible_select
.actions
= form.submit "Sauvegarder"