Add required flag to inputs in book editing form.