['file', 'remove_photo', $rack_photo], 'rear' => ['file_rear', 'remove_photo_rear', $rack_photo_rear]] as $photo_side => [$photo_field, $photo_remove_field, $photo_current]) { ?>
= pictureField($photo_field, $photo_current ? $photo_remove_field : '', $photo_current ? picturePhoto('../uploads/clients/' . intval($client_id) . '/' . html_entity_decode($photo_current), ucfirst($photo_side) . ' of the rack') : picturePhotoEmpty(),
picturePhotoEmpty(), ['title' => ucfirst($photo_side) . ' photo', 'shapes' => '4:3,3:4,whole', 'box' => 'wide']) ?>