Sunday, June 19, 2011

Re: [Rails] Re: :confirm dont work

i load all js.

2011/6/20 Andrew Skegg <andrewskegg@me.com>
Adel Mediouni <mediouni.adel@...> writes:

>
> hi
> i have a link in a view to delete a user:
> <td><%= link_to 'Destroy', {:controller => :users, :action
> => :destroy,  :id => user}, :confirm => 'are you sure !' %></td>
>
> all works good,when i click to delete user its ok, just i dont have



Do you have the javacript libraries loaded?

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.




--
Mediouni Adel
Tunis
www.metal-tn.xooit.com

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate