#myModal.modal.fade{"aria-hidden" => "true", "aria-labelledby" => "myModalLabel", :role => "dialog", :tabindex => "-1"}
	

	

	.modal-header
		%button.close{"aria-hidden" => "true", "data-dismiss" => "modal", :type => "button"} ×
		%h3#myModalLabel 
			-if @portfolio.id
				Modifier un portfolio
			-else
				Ajouter un portfolio
	.modal-body

		=semantic_form_for [:admin, @portfolio], :remote => true do |f| 
			= f.inputs do
	
				= f.input :title, :label => "Titre :"
				
			
				= f.input :description, :label => "Description :"

		
				
		
	.modal-footer
		%button.btn{"aria-hidden" => "true", "data-dismiss" => "modal"} Annuler
		%button.btn.btn-primary{"aria-hidden" => "true", "data-dismiss" => "modal", :onclick => "$(this).closest('.modal').find('form').submit();"} Sauvegarder
	