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

index 0d1db070c106730e67fb50d3995034a8c2a12712..567ad2338ff0d0302c885acda89b752336626cee 100644 (file)
@@ -16,7 +16,7 @@
                                        <tr> <td> Author: </td> <td> <tmpl_var author> </td></tr>
                                        <tr> <td> Added by: </td> <td> <tmpl_var owner> </td></tr>
                                </table>
-                               <h3><center>Time: 12:21</center></h3>
+                               <!-- <h3><center>Time: 12:21</center></h3>
                                <table class="table">
                                        <thead><tr><th>#</th> <th>User</th><th>Score</th></tr></thead>
                                        <tr class="active"> <td> 1 </td> <td> asd_asd</td> <td>1000</td> </tr>
                                        <tr> <td> 3 </td> <td> asd_asd</td> <td>23</td> </tr>
                                        <tr> <td> 4 </td> <td> asd_asd</td> <td>23</td> </tr>
                                        <tr> <td> 5 </td> <td> asd_asd</td> <td>23</td> </tr>
-                               </table>
+                               </table> -->
                                <tmpl_if cansubmit>
                                        <h3>Submit solution</h3>
                                        <div class="input-group">
+                                               <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>
 
-                                               <form action="https://gm.ieval.ro/action/submit" method="POST" enctype="multipart/form-data"><textarea class="form-control" style="width: 25em; height: 25em;" placeholder="Source code"></textarea><br>
+                                               <textarea class="form-control"placeholder="Source code" name="source_code"></textarea><br>
                                                <div class="input-group-btn">
                                                <label>File format: <select name="prog_format" required>
                                                <tmpl_loop formats><option value="<tmpl_var _>"><tmpl_var _></option>
This page took 0.023866 seconds and 4 git commands to generate.