~[if#gate.pref.busnotes_admin~(schoolid)=read]
~[text:nicktech.busnotes.admin.editpage.Not_Permitted]
[else#gate] ~[if#gate2.pref.busnotes_admin~(schoolid)=hide]
~[text:nicktech.busnotes.admin.editpage.Not_Permitted]
[else#gate2] ~[wc:editBusNote] [/if#gate2] [/if#gate]