added render_checkbox macro