Change enctype detection in author_create_with_books.html