-
Notifications
You must be signed in to change notification settings - Fork 3
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
4 changed files
with
42 additions
and
43 deletions.
There are no files selected for viewing
40 changes: 40 additions & 0 deletions
40
usaon_vta_survey/templates/macros/forms/relationships/dataproduct_application.j2
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,40 @@ | ||
{% macro data_product_application_fields(form) -%} | ||
{{form.criticality_rating.label}} {{form.criticality_rating(size=5)}} | ||
{% if form.criticality_rating.errors %} | ||
<ul class="errors"> | ||
{% for error in form.criticality_rating.errors %} | ||
<li>{{ error }}</li> | ||
{% endfor %} | ||
</ul> | ||
{% endif %} | ||
<br /> | ||
|
||
{{form.performance_rating.label}} {{form.performance_rating(size=50)}} | ||
{% if form.performance_rating.errors %} | ||
<ul class="errors"> | ||
{% for error in form.performance_rating.errors %} | ||
<li>{{ error }}</li> | ||
{% endfor %} | ||
</ul> | ||
{% endif %} | ||
<br /> | ||
|
||
{{form.rationale.label}} {{form.rationale(size=50)}} | ||
{% if form.rationale.errors %} | ||
<ul class="errors"> | ||
{% for error in form.rationale.errors %} | ||
<li>{{ error }}</li> | ||
{% endfor %} | ||
</ul> | ||
{% endif %} | ||
<br /> | ||
|
||
{{form.needed_improvements.label}} {{form.needed_improvements(size=50)}} | ||
{% if form.needed_improvements.errors %} | ||
<ul class="errors"> | ||
{% for error in form.needed_improvements.errors %} | ||
<li>{{ error }}</li> | ||
{% endfor %} | ||
</ul> | ||
{% endif %} | ||
{%- endmacro -%} |
41 changes: 0 additions & 41 deletions
41
...tes/macros/forms/relationships/app_sba.j2 → ...ationships/observingsystem_dataproduct.j2
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