[#49796079] improve render_form_field; custom_tags.py code cleanup