3 <tmpl_var ESCAPE=0 statement>
7 <div id="sidebar"></div>
9 <h3>Problem information</h3>
11 <dt>Time limit:</dt> <dd><tmpl_var timelimit>s</dd>
12 <dt>Author</dt> <dd><tmpl_var author></dd>
13 <dt>Owner</dt> <dd><tmpl_var owner></dd>
17 <h1>Submit solution</h1>
18 <form action="<tmpl_var id>/submit" method="POST" enctype="multipart/form-data" role="form">
19 <input type="hidden" name="problem" value="<tmpl_var id>">
20 <tmpl_if_defined contest><input type="hidden" name="contest" value="<tmpl_var contest>"></tmpl_if_defined>
22 <div class="form-group"><label for="prog">File:</label><input id="prog" name="prog" type="file"></div>
23 <div class="form-group"><label for="source_code">Source code:</label> <textarea class="form-control" id="source_code" name="source_code"></textarea></div>
24 <div class="form-group"><label for="prog_format">File format:</label><select id="prog_format" name="prog_format" class="form-control" required>
25 <tmpl_loop formats><option value="<tmpl_var _>"><tmpl_var _></option>
26 </tmpl_loop></select></div>
28 <input type="submit" value="Submit job" class="btn btn-primary">