Hi,
I'm new with Rails and I'm having a sort of a trouble with typus (I
know that there's a Typus group but I think that my problem may happen
everywhere).
In Typus as default when I create a new record, it automatically
renders a form with 3 buttons
Save and new | Save and continue editing | Save
I have to create a button "Exit without save", I made it appear but in
my model I made some validations like
:presence => true
and when I click on "Exit without save" it appears a message "(field)
can't be blank"
How can I override this?
Maybe someone know how to do this without Typus, It could help too :)
Thanks
--
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.
No comments:
Post a Comment