Fixed Purge cache button not working because of a missing form

#2738 on the JIssue tracker.