+ <input type="hidden" name="problem" value="<tmpl_var id>">
+ <tmpl_if_defined contest><input type="hidden" name="contest" value="<tmpl_var contest>"></tmpl_if_defined>
+ <label>File: <input name="prog" required type="file"></label>
+
+ <label>File format: <select name="prog_format" required>
+ <tmpl_loop formats><option value="<tmpl_var _>"><tmpl_var _></option>
+ </tmpl_loop></select></label>