<input type="radio" name="CanEdit" value="ViewOnly" checked="checked" ><label>View only</label><br>
  <input type="radio" name="CanEdit" value="CanEditSettings"><label>Can Edit Settings</label><br>

Multiple radio button groups in one form

The name= field is what creates a group of radio buttons, use the same name for all radio buttons in a group.