=semantic_form_for [:admin, @mail_hist], :remote => true do |f| .content =f.inputs do = f.input :from_email, :label => "from_email :" = f.input :to_email, :label => "to_email :" = f.input :subject, :label => "subject :" = f.input :body, :label => "body :" = f.input :mail_content, :label => "mail_content :" = f.input :mail_type, :label => "mail_type :" = f.input :element_type, :label => "element_type :" = f.input :element_id, :label => "element_id :" = f.input :m_odr_rep, :label => "m_odr_rep :" = f.input :m_odr, :label => "m_odr :" = f.input :mj_read, :label => "mj_read :" = f.input :mj_token, :label => "mj_token :" = f.input :nbr_send, :label => "nbr_send :" .actions=f.submit "sauvegarder", :class => "btn btn-primary"