Display a cancel button if the server-side validation failed. Fixes #2538

Replace label-important with label-danger (Bootstrap 3 change).