elcodi/bamboo-admin — pull request #37 by grisendo (2014-10-10 07:43:27+00:00)
Title: Link cancel buttons in forms

There are some issues with 'Cancel' links in administration forms.
First at all, they are 'button' tags, so modern navigators, which supports HTML5, try to validate the form. My first idea was to add HTML attribute 'noformvalidate', but I saw that action have no special treatment in controller associated with form action path, so the entity is trying to be created/edited anyway, and an error occurs (maybe because of missing empty values?).
So I found that the best solution could be to change them by 'a' tags going back to the corresponding list route.