Fixed template structure. Added league settins form