Skip to content

Commit

Permalink
chore: remove unnecessary form in HTML file
Browse files Browse the repository at this point in the history
  • Loading branch information
ttqureshi committed Feb 20, 2025
1 parent 1d677e5 commit 6e5ca6e
Showing 1 changed file with 0 additions and 35 deletions.
35 changes: 0 additions & 35 deletions xblocks_contrib/lti/templates/lti.html
Original file line number Diff line number Diff line change
@@ -1,41 +1,6 @@
{% load i18n %}

<div class="lti-wrapper">
<div
id="lti_id"
class="lti"
data-open_in_a_new_page="true"
data-ajax_url="www.example.com/ajax_url"
data-package-name="xblocks-contrib"
>

<form
action=""
name="ltiLaunchForm"
class="ltiLaunchForm"
method="post"
target="_blank"
enctype="application/x-www-form-urlencoded"
>
<input name="launch_presentation_return_url" value="" />
<input name="lti_version" value="LTI-1p0" />
<input name="user_id" value="student" />
<input name="oauth_nonce" value="28347958723982798572" />
<input name="oauth_timestamp" value="2389479832" />
<input name="oauth_consumer_key" value="" />
<input name="lis_result_sourcedid" value="" />
<input name="oauth_signature_method" value="HMAC-SHA1" />
<input name="oauth_version" value="1.0" />
<input name="role" value="student" />
<input name="lis_outcome_service_url" value="" />
<input name="oauth_signature" value="89ru3289r3ry283y3r82ryr38yr" />
<input name="lti_message_type" value="basic-lti-launch-request" />
<input name="oauth_callback" value="about:blank" />
<input name="context_id" value="testorg/testcoursename/2014" />

<input type="submit" value="Press to Launch" />
</form>
</div>
<h3 class="hd hd-3 problem-header">
{# Translators: "External resource" means that this learning module is hosted on a platform external to the edX LMS #}
{{display_name}} ({% trans 'External resource' %})
Expand Down

0 comments on commit 6e5ca6e

Please sign in to comment.