3 <tmpl_var ESCAPE=0 statement>
8 <dt>Author</dt> <dd><tmpl_var author></dd>
9 <dt>Owner</dt> <dd><tmpl_var owner></dd>
13 <h1>Submit solution</h1>
14 <form action="<tmpl_var id>/submit" method="POST" enctype="multipart/form-data" role="form">
15 <input type="hidden" name="problem" value="<tmpl_var id>">
16 <tmpl_if_defined contest><input type="hidden" name="contest" value="<tmpl_var contest>"></tmpl_if_defined>
18 <div class="form-group"><label for="prog">File:</label><input id="prog" name="prog" type="file"></div>
19 <div class="form-group"><label for="source_code">Source code:</label> <textarea class="form-control" id="source_code" name="source_code"></textarea></div>
20 <div class="form-group"><label for="prog_format">File format:</label><select id="prog_format" name="prog_format" class="form-control" required>
21 <tmpl_loop formats><option value="<tmpl_var _>"><tmpl_var _></option>
22 </tmpl_loop></select></div>
24 <input type="submit" value="Submit job" class="btn btn-primary">