
%h3
	Ajouter un message 

=form_for [:public,(@comment || Comment.new(:commentable_id => (commentable_id || @article.id), :commentable_type => (commentable_type || "Article")))], :remote => true do |f|
	=f.hidden_field :commentable_id
	=f.hidden_field :commentable_type

	%p
		=f.label :pseudo, "Pseudo :"
		
		=f.text_field :pseudo
	
	
	%p	

		=f.label :comment, "Commentaire :"
		=f.text_area :comment, :style => "width:98%;height:200px;"
	
	
	
		
	=f.submit "Envoyer", :class => "submit"