Added f.checkbox method usage.