mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-04 08:52:16 +02:00
Add requesting entity to review page
This commit is contained in:
parent
514cd8af31
commit
263ec02bc3
2 changed files with 12 additions and 4 deletions
|
@ -22,7 +22,14 @@
|
|||
{% input_with_errors forms.0.is_suborganization %}
|
||||
{% endwith %}
|
||||
{% endwith %}
|
||||
{% input_with_errors forms.1.is_custom_suborganization %}
|
||||
|
||||
{% comment %} Add an invisible form element to track whether the custom value "other"
|
||||
was selected or not. This allows for persistence across page reloads without using session variables.
|
||||
{% endcomment %}
|
||||
{% with add_group_class="display-none" %}
|
||||
{% input_with_errors forms.1.is_custom_suborganization %}
|
||||
{% endwith %}
|
||||
|
||||
<div id="requesting-entity-fieldset__suborganization" class="margin-top-4">
|
||||
<h2>Add suborganization information</h2>
|
||||
<p>
|
||||
|
|
|
@ -8,9 +8,10 @@
|
|||
{% endif %}
|
||||
|
||||
{% if step == Step.REQUESTING_ENTITY %}
|
||||
{% if domain_request.organization_name %}
|
||||
{% with title=form_titles|get_item:step value=domain_request %}
|
||||
{% include "includes/summary_item.html" with title=title value=value heading_level=heading_level editable=is_editable edit_link=domain_request_url address='true' %}
|
||||
{% if domain_request.requested_suborganization and domain_request.suborganization_city and domain_request.suborganization_state_territory %}
|
||||
{% with title=form_titles|get_item:step value=domain_request.requested_suborganization %}
|
||||
{% include "includes/summary_item.html" with title=title value=value heading_level=heading_level editable=is_editable edit_link=domain_request_url %}
|
||||
<p class="margin-top-0 margin-bottom-0">{{domain_request.suborganization_city}}, {{domain_request.suborganization_state_territory}}</p>
|
||||
{% endwith %}
|
||||
{% else %}
|
||||
{% with title=form_titles|get_item:step value="<span class='text-bold text-secondary-dark'>Incomplete</span>"|safe %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue