-
Notifications
You must be signed in to change notification settings - Fork 310
/
Copy pathindex.html
executable file
·47 lines (47 loc) · 2.45 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="../node_modules/qunit/qunit/qunit.css" />
</head>
<body>
<h1 id="qunit-header">Dynamic Formset Tests</h1>
<h2 id="qunit-banner"></h2>
<div id="qunit-testrunner-toolbar"></div>
<ol id="qunit-tests"></ol>
<div id="qunit-fixture">
<form id="stacked-form">
<input type="hidden" name="form-TOTAL_FORMS" value="1" id="id_form-TOTAL_FORMS" />
<input type="hidden" name="form-INITIAL_FORMS" value="0" id="id_form-INITIAL_FORMS" />
<input type="hidden" name="form-MIN_NUM_FORMS" value="0" id="id_form-MIN_NUM_FORMS" />
<input type="hidden" name="form-MAX_NUM_FORMS" value="3" id="id_form-MAX_NUM_FORMS" />
<div>
<label for="id_form-0-type">Type:</label>
<select name="form-0-type" id="id_form-0-type">
<option value="Phone">Phone</option>
<option value="Fax">Fax</option>
<option value="Email" selected="selected">Email</option>
<option value="AIM">AIM</option>
<option value="Gtalk">Gtalk/Jabber</option>
<option value="Yahoo">Yahoo</option>
</select>
<label for="id_form-0-value">Value:</label>
<input id="id_form-0-value" type="text" name="form-0-value" maxlength="200" value="[email protected]" />
<label for="id_form-0-preferred">
<input type="checkbox" name="form-0-preferred" id="id_form-0-preferred" checked="checked" /> Preferred
</label>
</div>
</form>
</div>
<script src="https://code.jquery.com/jquery-2.2.4.min.js"
integrity="sha256-BbhdlvQf/xTY9gja0Dq3HiwQF8LaCRTXxZKRutelT44=" crossorigin="anonymous"></script>
<script type="text/javascript" src="../node_modules/qunit/qunit/qunit.js"></script>
<script type="text/javascript" src="lib/qmock.js"></script>
<script type="text/javascript" src="../src/jquery.formset.js"></script>
<script type="text/javascript" src="basic.js"></script>
<script type="text/javascript">
QMock.config.failslow = false;
QMock.config.compare = QUnit.equiv;
</script>
</body>
</html>