Create form for editing flags