]> iEval git - mindcoding-template-patches.git/commitdiff
fix submit
authorS7012MY <l3asketballplayer@yahoo.com>
Sun, 26 Jan 2014 22:22:56 +0000 (00:22 +0200)
committerS7012MY <l3asketballplayer@yahoo.com>
Sun, 26 Jan 2014 22:22:56 +0000 (00:22 +0200)
tmpl/pb_entry.en

index 065b4f5752590a7ea0717ce3d07c1faecb268a6a..1c97d59af9084808bd282bffab690dcc20a3d71a 100644 (file)
                                                <form action="https://gm.ieval.ro/action/submit" method="POST" enctype="multipart/form-data">
                                                <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: <input name="prog" type="file"></label>
 
                                                <textarea class="form-control"placeholder="Source code" name="source_code"></textarea><br>
                                                <div class="input-group-btn">
-                                               <label>File format: <select name="prog_format">
+                                               <label>File format: <select name="prog_format" required>
                                                <tmpl_loop formats><option value="<tmpl_var _>"><tmpl_var _></option>
                                                </tmpl_loop></select></label>
                                                <input type="submit" value="Submit">
This page took 0.026127 seconds and 4 git commands to generate.