
    
= semantic_form_for [:portlet, @time_content], :remote => true do |form| 

  = form.inputs do 
  
    =form.input :category_id, :as => :select, :collection => Category.joins(:category_langs).uniq, :label => "Domaine :", :include_blank => false
    
    =# form.input :style, :label => "Style :", :as => :select, :collection => ["orange", "vert"], :include_blank => false
    = form.input :date, :label => "Titre par Mois et année :" 
    = form.input :image_file_id, :label => "Image :" , :as => :qi_image_select
    = form.input :description, :label => "Description :" 

  