adding shared/error_messages to each form