src/public/js/admin_page.js
/**
 * Populates the edit club fields.
 * 
 * @param club_id The id of the selected club
 */
Populates the edit club fields.

@param club_id The id of the selected club
Populates the edit club fields . @param club_id The id of the selected club
function clubSelect(club_id)
{
    let club = clubs[club_id - 1];
    document.getElementById('edit_club_label').value = club.label;
    document.getElementById('edit_club_desc').value = club.description;
}
function clubSelect ( club_id ) { let club = clubs [ club_id - 1 ] ; document . getElementById ( 'edit_club_label' ) . value = club . label ; document . getElementById ( 'edit_club_desc' ) . value = club . description ; }
Populates the edit club fields.
Populates the edit club fields .