testappproj/templates/code.html
changeset 1 0eda880b3d25
parent 0 0b061d58aea3
child 3 34d0c21e3352
equal deleted inserted replaced
0:0b061d58aea3 1:0eda880b3d25
    21     <p><strong>Enter your solution here:</strong></p>
    21     <p><strong>Enter your solution here:</strong></p>
    22     <p><textarea id="code-area" name="user_code" rows="22" cols="80">
    22     <p><textarea id="code-area" name="user_code" rows="22" cols="80">
    23 {% ifequal pu.classname "ProblemUser" %}{{ pu.solution }}{% else %}{{ problem.skeleton }}{% endifequal %}
    23 {% ifequal pu.classname "ProblemUser" %}{{ pu.solution }}{% else %}{{ problem.skeleton }}{% endifequal %}
    24 
    24 
    25     </textarea></p>
    25     </textarea></p>
    26     <input type="hidden" name="problem_id" value="{{ problem.key.id }}" />
    26     <input type="hidden" name="problem_id" value="{{ problem.id }}" />
    27     <p><input type="submit" name="submit" value="Run" /></p>
    27     <p><input type="submit" name="submit" value="Run" /></p>
    28   </form>
    28   </form>
    29 
    29 
    30   <script language="javascript" type="text/javascript" src="/static/edit_area_full.js"></script>
    30   <script language="javascript" type="text/javascript" src="/static/edit_area_full.js"></script>
    31   <script language="javascript" type="text/javascript">
    31   <script language="javascript" type="text/javascript">