/**
     * For each ticket in the booking table, add a hidden row with ticket form
     * @param EM_Ticket $EM_Ticket
     */
    public static function tickets_form($EM_Ticket)
    {
        $col_numbers = $EM_Ticket->get_event()->get_bookings()->get_tickets()->get_ticket_collumns();
        $min_spaces = $EM_Ticket->get_spaces_minimum();
        if (!$EM_Ticket->is_required()) {
            $min_spaces = 0;
        }
        //zero value allowed
        if (!empty($_REQUEST['em_tickets'][$EM_Ticket->ticket_id]['spaces'])) {
            $min_spaces = $_REQUEST['em_tickets'][$EM_Ticket->ticket_id]['spaces'];
        }
        ?>
		<tr class="em-attendee-details" id="em-attendee-details-<?php 
        echo $EM_Ticket->ticket_id;
        ?>
" <?php 
        if ($min_spaces == 0) {
            echo 'style="display:none;"';
        }
        ?>
>
			<td colspan="<?php 
        echo count($col_numbers);
        ?>
">
				<?php 
        self::ticket_form($EM_Ticket);
        ?>
			</td>
		</tr>
		<?php 
    }