support radio buttons
This commit is contained in:
@@ -109,12 +109,12 @@ func (wc *WebController) adminAbuseForm(td *TemplateData, r *http.Request) (f Fo
|
||||
Name: "type",
|
||||
Label: "Type",
|
||||
DefaultValue: "unknown",
|
||||
Description: "Can be 'unknown', 'copyright', 'terrorism' or 'child_abuse'",
|
||||
Type: FieldTypeText,
|
||||
Type: FieldTypeRadio,
|
||||
RadioValues: []string{"unknown", "copyright", "terrorism", "child_abuse"},
|
||||
}, {
|
||||
Name: "reporter",
|
||||
Label: "Reporter",
|
||||
DefaultValue: "pixeldrain",
|
||||
DefaultValue: "Anonymous tip",
|
||||
Type: FieldTypeText,
|
||||
},
|
||||
},
|
||||
|
Reference in New Issue
Block a user