Solution to "The action you have requested is not allowed" Error

Removing the display:none div surrounding the hidden input of the csrf_protection solved the problem with "The action you have requested is not allowed" which occurs on some devices such as smartphones and tablets.