Cal. Civ. Proc. Code § 1993.1
(f) The person arrested shall be released unless one of the following is a reason for nonrelease, in which case the arresting officer either may release the person or shall indicate, on a form to be established by his or her employing law enforcement agency, which of the following was a reason for the nonrelease: