lundi 20 juillet 2015

How to invoke diffrent jquery for a partial form in Rails?

I need to invoke different jquerys for different methods in a partial form.

I need to hide a certain block if an "edit" method is called _form(partial form) but I need to make it visible for a "new" method.

Here is the jquery part, $('.deact').hide();

Aucun commentaire:

Enregistrer un commentaire