= semantic_form_for [:admin, @contact_action], :remote => true do |f| 
  .content
    =f.hidden_field :contact_id
    =f.inputs do

      = f.input :action_at, :label => "Date", :as =>:qi_datetime_picker
      = f.input :admin_id, :label => "Par ?", :collection => (Admin.where(:contact_role => true).all.map{|u|[ u.username, u.id]}), :as => :select

      = f.input :action_message, :label => "Message"
      
    
  .actions
    =f.submit "Sauvegarder", :class => "btn btn-primary"
      
  