Skip to content

Commit

Permalink
Patched introduction/templates/Lab/A9/a9_lab2.html
Browse files Browse the repository at this point in the history
  • Loading branch information
patched.codes[bot] committed May 7, 2024
1 parent d3399e3 commit 3a9ce25
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion introduction/templates/Lab/A9/a9_lab2.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ <h4>Some Example</h4>
</ul>

<form enctype="multipart/form-data" id="a9_form2" method="POST" style="display: flex;flex-direction: column;align-items: center;margin-bottom: 50px;">
{% csrf_token %}
<input type="file" name="file" id="a9_file" />
<input type="text" name="function" id="a9_function" placeholder="function"/>
<button type="submit" id="a9_submit" >Submit</button>
Expand Down Expand Up @@ -88,7 +89,7 @@ <h4>Some Example</h4>
form.submit();
}
{% if error %}
alert("{{ data }}");
alert( "{{ data|tojson }}" );
{% endif %}

</script>
Expand Down

0 comments on commit 3a9ce25

Please sign in to comment.