(a) He or she may prepare in duplicate a written notice to appear before the probation officer of the county in which the minor was taken in custody at a time and place specified in the notice. The notice shall also contain a concise statement of the reasons the minor was taken into custody. The officer shall deliver one copy of the notice to the minor or to a parent, guardian, or responsible relative of the minor and may require the minor or his or her parent, guardian, or relative, or both, to sign a written promise that either or both will appear at the time and place designated in the notice. Upon the execution of the promise to appear, the officer shall immediately release the minor. The officer shall, as soon as practicable, file one copy of the notice with the probation officer.