-
Notifications
You must be signed in to change notification settings - Fork 398
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
6 changed files
with
25 additions
and
5 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
3 changes: 2 additions & 1 deletion
3
viewflow/site/templates/viewflow/form/bootstrap3/layout/column.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 |
---|---|---|
@@ -1,5 +1,6 @@ | ||
{% load viewform %} | ||
{% for element in parent.elements %} | ||
<div> | ||
{% include element with parent=element %} | ||
{% render element %} | ||
</div> | ||
{% endfor %} |
3 changes: 2 additions & 1 deletion
3
viewflow/site/templates/viewflow/form/bootstrap3/layout/fieldset.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 |
---|---|---|
@@ -1,9 +1,10 @@ | ||
{% load viewform %} | ||
<fieldset> | ||
{% if parent.label %} | ||
<legend>{{ parent.label }}</legend> | ||
{% endif %} | ||
|
||
{% for element in parent.elements %} | ||
{% include element with parent=element %} | ||
{% render element %} | ||
{% endfor %} | ||
</fieldset> |
3 changes: 2 additions & 1 deletion
3
viewflow/site/templates/viewflow/form/bootstrap3/layout/layout.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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
{% load viewform %} | ||
{% for element in parent.elements %} | ||
{% include element with parent=element %} | ||
{% render element %} | ||
{% endfor %} |
3 changes: 2 additions & 1 deletion
3
viewflow/site/templates/viewflow/form/bootstrap3/layout/row.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 |
---|---|---|
@@ -1,7 +1,8 @@ | ||
{% load viewform %} | ||
<div class="row"> | ||
{% for element, span in parent.container_12 %} | ||
<div class="col-md-{{ span }} columns"> | ||
{% include element with parent=element %} | ||
{% render element %} | ||
</div> | ||
{% endfor %} | ||
</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