-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add missed css_class to layout templates (#28)
- Loading branch information
Showing
8 changed files
with
78 additions
and
24 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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<div id="{{ accordion.css_id }}" role="tablist"> | ||
<div{% if accordion.css_class %} class="{{ accordion.css_class }}"{% endif %} id="{{ accordion.css_id }}" role="tablist"> | ||
{{ content }} | ||
</div> |
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
33 changes: 33 additions & 0 deletions
33
tests/results/bootstrap4/test_layout_objects/test_tab_and_tab_holder.html
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,33 @@ | ||
<form method="post"> | ||
<ul class="nav nav-tabs test-tab-holder-class"> | ||
<li class="nav-item"><a class="nav-link active" href="#custom-name" data-toggle="tab">One</a></li> | ||
<li class="nav-item"><a class="nav-link" href="#two" data-toggle="tab">Two</a></li> | ||
</ul> | ||
<div class="tab-content card-body"> | ||
<div id="custom-name" class="tab-pane first-tab-class active"> | ||
<div id="div_id_first_name" class="form-group"> | ||
<label for="id_first_name" class=" requiredField">first name<span class="asteriskField">*</span> </label> | ||
<div> | ||
<input type="text" name="first_name" maxlength="5" class="textinput textInput inputtext form-control" | ||
required id="id_first_name"> | ||
</div> | ||
</div> | ||
</div> | ||
<div id="two" class="tab-pane"> | ||
<div id="div_id_password1" class="form-group"> | ||
<label for="id_password1" class=" requiredField">password<span class="asteriskField">*</span> </label> | ||
<div> | ||
<input type="password" name="password1" maxlength="30" class="passwordinput form-control" | ||
required id="id_password1"> | ||
</div> | ||
</div> | ||
<div id="div_id_password2" class="form-group"> | ||
<label for="id_password2" class=" requiredField">re-enter password<span class="asteriskField">*</span> </label> | ||
<div> | ||
<input type="password" name="password2" maxlength="30" class="passwordinput form-control" | ||
required id="id_password2"> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</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