File: test_modelformset_layout.html

package info (click to toggle)
python-django-crispy-forms 2.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,056 kB
  • sloc: python: 3,078; makefile: 88
file content (32 lines) | stat: -rw-r--r-- 1,714 bytes parent folder | download
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
<form method="post">
    <div>
      <input type="hidden" name="form-TOTAL_FORMS" value="3" 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="1000" id="id_form-MAX_NUM_FORMS">
    </div>
    <div id="div_id_form-0-email" class="form-group">
      <label for="id_form-0-email" class="control-label  requiredField">Email <span class="asteriskField">*</span>
      </label>
      <div class="controls ">
        <input type="text" name="form-0-email" maxlength="20" class="textinput textInput inputtext form-control" id="id_form-0-email">
      </div>
    </div>
    <input type="hidden" name="form-0-id" id="id_form-0-id">
    <div id="div_id_form-1-email" class="form-group">
      <label for="id_form-1-email" class="control-label  requiredField">Email <span class="asteriskField">*</span>
      </label>
      <div class="controls ">
        <input type="text" name="form-1-email" maxlength="20" class="textinput textInput inputtext form-control" id="id_form-1-email">
      </div>
    </div>
    <input type="hidden" name="form-1-id" id="id_form-1-id">
    <div id="div_id_form-2-email" class="form-group">
      <label for="id_form-2-email" class="control-label  requiredField">Email <span class="asteriskField">*</span>
      </label>
      <div class="controls ">
        <input type="text" name="form-2-email" maxlength="20" class="textinput textInput inputtext form-control" id="id_form-2-email">
      </div>
    </div>
    <input type="hidden" name="form-2-id" id="id_form-2-id">
</form>