php_app/app/views/admin/events/_form.html.haml
Nicolas Bally 5cf3a3e83d initial
2014-11-25 22:56:20 +01:00

16 lines
527 B
Plaintext

= semantic_form_for [:admin,@event], :remote => true do |form|
.content
= form.inputs do
= form.input :image_file_id, :label => "Image :" , :as => :qi_image_select
= form.input :start_at, :label => "Date: ",:as => :qi_date_picker
= form.input :title, :label => "Titre :"
= form.input :slug, :label => "Slug :"
= form.input :description, :label => "Description courte :", :as => :text
.actions
= form.submit "Sauvegarder", :class => "btn btn-primary"