Club Code: <input type="text" name="clubcode" value="{$club->display_code()}" size="3" maxlength="3"> Name: <input type="text" name="clubname" value="{$club->display_name()}"> </p> <p> Contact:<input type="text" name="contname" value="{$club->display_contact()}"> Phone:<input type="text" name="contphone" value="{$club->display_contphone()}"> Email:<input type="text" name="contemail" value="{$club->display_contemail_nolink()}"> </p> <p> Club website: <input type="text" name="website" value="{$club->display_website_raw()}"> Meeting night: EOT; $club->nightopt(); $schchk = $club->Schools ? " checked" : ""; print <<<EOT </p> <p>Set this <input type="checkbox" name="schools"{$schchk}> if the club is in BGA schools.</p> <p> <input type="submit" name="subm" value="Add Club"> <input type="submit" name="subm" value="Update Club"> </p> EOT; ?> </form> </div> </div> </body> </html>