moved candidates table to partial