Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
188 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,144 @@ | ||
<form action="/simple/action/" class="formsets-that-rock" id="thisFormsetRocks" method="post"> | ||
<input type="hidden" name="csrfmiddlewaretoken" value="aTestToken"> | ||
<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> | ||
<fieldset> | ||
<legend>Item 1</legend> | ||
<div class="form-group"> | ||
<div id="div_id_form-0-is_company" class="checkbox"> | ||
<label for="id_form-0-is_company" class=""> | ||
<input type="checkbox" name="form-0-is_company" class="checkboxinput" id="id_form-0-is_company"> | ||
company | ||
</label> | ||
</div> | ||
</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="30" class="textinput textInput inputtext form-control" id="id_form-0-email"> | ||
<div id="hint_id_form-0-email" class="help-block">Insert your email</div> | ||
</div> | ||
</div> | ||
</fieldset> | ||
Note for first form only | ||
<div class="row "> | ||
<div id="div_id_form-0-password1" class="form-group"> | ||
<label for="id_form-0-password1" class="control-label requiredField"> password<span class="asteriskField">*</span></label> | ||
<div class="controls "> | ||
<input type="password" name="form-0-password1" maxlength="30" class="passwordinput form-control" id="id_form-0-password1"> | ||
</div> | ||
</div> | ||
<div id="div_id_form-0-password2" class="form-group"> | ||
<label for="id_form-0-password2" class="control-label requiredField"> re-enter password<span class="asteriskField">*</span></label> | ||
<div class="controls "> | ||
<input type="password" name="form-0-password2" maxlength="30" class="passwordinput form-control" id="id_form-0-password2"> | ||
</div> | ||
</div> | ||
</div> | ||
<fieldset> | ||
<div id="div_id_form-0-first_name" class="form-group"> | ||
<label for="id_form-0-first_name" class="control-label requiredField"> first name<span class="asteriskField">*</span></label> | ||
<div class="controls "> | ||
<input type="text" name="form-0-first_name" maxlength="5" class="textinput textInput inputtext form-control" id="id_form-0-first_name"> | ||
</div> | ||
</div> | ||
<div id="div_id_form-0-last_name" class="form-group"> | ||
<label for="id_form-0-last_name" class="control-label requiredField"> last name<span class="asteriskField">*</span></label> | ||
<div class="controls "> | ||
<input type="text" name="form-0-last_name" maxlength="5" class="textinput textInput inputtext form-control" id="id_form-0-last_name"> | ||
</div> | ||
</div> | ||
</fieldset> | ||
<fieldset> | ||
<legend>Item 2</legend> | ||
<div class="form-group"> | ||
<div id="div_id_form-1-is_company" class="checkbox"> | ||
<label for="id_form-1-is_company" class=""> | ||
<input type="checkbox" name="form-1-is_company" class="checkboxinput" id="id_form-1-is_company"> | ||
company | ||
</label> | ||
</div> | ||
</div> | ||
<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="30" class="textinput textInput inputtext form-control" id="id_form-1-email"> | ||
<div id="hint_id_form-1-email" class="help-block">Insert your email</div> | ||
</div> | ||
</div> | ||
</fieldset> | ||
<div class="row "> | ||
<div id="div_id_form-1-password1" class="form-group"> | ||
<label for="id_form-1-password1" class="control-label requiredField"> password<span class="asteriskField">*</span></label> | ||
<div class="controls "> | ||
<input type="password" name="form-1-password1" maxlength="30" class="passwordinput form-control" id="id_form-1-password1"> | ||
</div> | ||
</div> | ||
<div id="div_id_form-1-password2" class="form-group"> | ||
<label for="id_form-1-password2" class="control-label requiredField"> re-enter password<span class="asteriskField">*</span></label> | ||
<div class="controls "> | ||
<input type="password" name="form-1-password2" maxlength="30" class="passwordinput form-control" id="id_form-1-password2"> | ||
</div> | ||
</div> | ||
</div> | ||
<fieldset> | ||
<div id="div_id_form-1-first_name" class="form-group"> | ||
<label for="id_form-1-first_name" class="control-label requiredField"> first name<span class="asteriskField">*</span></label> | ||
<div class="controls "> | ||
<input type="text" name="form-1-first_name" maxlength="5" class="textinput textInput inputtext form-control" id="id_form-1-first_name"> | ||
</div> | ||
</div> | ||
<div id="div_id_form-1-last_name" class="form-group"> | ||
<label for="id_form-1-last_name" class="control-label requiredField"> last name<span class="asteriskField">*</span> </label> | ||
<div class="controls "> | ||
<input type="text" name="form-1-last_name" maxlength="5" class="textinput textInput inputtext form-control" id="id_form-1-last_name"> | ||
</div> | ||
</div> | ||
</fieldset> | ||
<fieldset> | ||
<legend>Item 3</legend> | ||
<div class="form-group"> | ||
<div id="div_id_form-2-is_company" class="checkbox"> | ||
<label for="id_form-2-is_company" class=""> | ||
<input type="checkbox" name="form-2-is_company" class="checkboxinput" id="id_form-2-is_company"> | ||
company | ||
</label> | ||
</div> | ||
</div> | ||
<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="30" class="textinput textInput inputtext form-control" id="id_form-2-email"> | ||
<div id="hint_id_form-2-email" class="help-block">Insert your email</div> | ||
</div> | ||
</div> | ||
</fieldset> | ||
<div class="row "> | ||
<div id="div_id_form-2-password1" class="form-group"> | ||
<label for="id_form-2-password1" class="control-label requiredField"> password<span class="asteriskField">*</span> </label> | ||
<div class="controls "> | ||
<input type="password" name="form-2-password1" maxlength="30" class="passwordinput form-control" id="id_form-2-password1"> </div> | ||
</div> | ||
<div id="div_id_form-2-password2" class="form-group"> | ||
<label for="id_form-2-password2" class="control-label requiredField"> re-enter password<span class="asteriskField">*</span> </label> | ||
<div class="controls "> | ||
<input type="password" name="form-2-password2" maxlength="30" class="passwordinput form-control" id="id_form-2-password2"> </div> | ||
</div> | ||
</div> | ||
<fieldset> | ||
<div id="div_id_form-2-first_name" class="form-group"> | ||
<label for="id_form-2-first_name" class="control-label requiredField"> first name<span class="asteriskField">*</span> </label> | ||
<div class="controls "> | ||
<input type="text" name="form-2-first_name" maxlength="5" class="textinput textInput inputtext form-control" id="id_form-2-first_name"> </div> | ||
</div> | ||
<div id="div_id_form-2-last_name" class="form-group"> | ||
<label for="id_form-2-last_name" class="control-label requiredField"> last name<span class="asteriskField">*</span> </label> | ||
<div class="controls "> | ||
<input type="text" name="form-2-last_name" maxlength="5" class="textinput textInput inputtext form-control" id="id_form-2-last_name"> </div> | ||
</div> | ||
</fieldset> | ||
</form> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<form method="post"> | ||
<div id="div_id_email" class="form-group"> | ||
<label for="id_email" class="control-label requiredField">email<span class="asteriskField">*</span></label> | ||
<div class="controls "> | ||
<input type="text" name="email" maxlength="30" class="textinput textInput inputtext form-control" required id="id_email"> | ||
<div id="hint_id_email" class="help-block">Insert your email</div> | ||
</div> | ||
</div> | ||
<input type="hidden" name="password1" id="id_password1"> | ||
<input type="hidden" name="password2" id="id_password2"> | ||
</form> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters