-
- {% if show_edit_btn %}
- {% with 'nimbus-ui-new-update-'|add:card_id as url_name %}
-
- {% endwith %}
- {% endif %}
-
-
-
-
-
- {% if body_template %}
- {% include body_template %}
+{% load nimbus_extras %}
+
+{% with card_status=card_summaries|dict_get:card_id %}
+
+
+
+
+
+
+ {% if show_edit_btn %}
+ {% include "new/common/card_actions.html" %}
+
+ {% endif %}
+
+
+
+
+
+
+ {% if body_template %}
+ {% include body_template %}
- {% endif %}
+ {% endif %}
+
-
+{% endwith %}
diff --git a/experimenter/experimenter/nimbus_ui/templates/new/rollouts/overview/cancel_response.html b/experimenter/experimenter/nimbus_ui/templates/new/rollouts/overview/cancel_response.html
index 89d11dd0fd..523d2c64cb 100644
--- a/experimenter/experimenter/nimbus_ui/templates/new/rollouts/overview/cancel_response.html
+++ b/experimenter/experimenter/nimbus_ui/templates/new/rollouts/overview/cancel_response.html
@@ -1 +1 @@
-{% include "new/rollouts/detail_card.html" with card_id="overview" title="Overview" subtitle="Name · Observations & Problem Space · Public Description · Application · Important Links · Project Tags · Subscribers" show_edit_btn=experiment.is_draft body_template="new/rollouts/overview/card.html" %}
+{% include "new/rollouts/detail_card.html" with card_id="overview" title="Overview" show_edit_btn=experiment.is_draft body_template="new/rollouts/overview/card.html" %}
diff --git a/experimenter/experimenter/nimbus_ui/templates/new/rollouts/overview/edit_form.html b/experimenter/experimenter/nimbus_ui/templates/new/rollouts/overview/edit_form.html
index dbec53e4c2..8da51e937d 100644
--- a/experimenter/experimenter/nimbus_ui/templates/new/rollouts/overview/edit_form.html
+++ b/experimenter/experimenter/nimbus_ui/templates/new/rollouts/overview/edit_form.html
@@ -5,7 +5,8 @@
{% include "new/common/sidebar_links.html" with hx_swap_oob=True %}
diff --git a/experimenter/experimenter/nimbus_ui/templates/new/rollouts/qa/edit_form.html b/experimenter/experimenter/nimbus_ui/templates/new/rollouts/qa/edit_form.html
index 4ba11954fc..8f6964010d 100644
--- a/experimenter/experimenter/nimbus_ui/templates/new/rollouts/qa/edit_form.html
+++ b/experimenter/experimenter/nimbus_ui/templates/new/rollouts/qa/edit_form.html
@@ -7,7 +7,8 @@
{# Action buttons #}
-
-
-
-
+ {% include "new/common/card_form_actions.html" with card_id="qa" %}
+
diff --git a/experimenter/experimenter/nimbus_ui/templates/new/rollouts/risks/edit_form.html b/experimenter/experimenter/nimbus_ui/templates/new/rollouts/risks/edit_form.html
index d844fd5fc8..b01e0dea6e 100644
--- a/experimenter/experimenter/nimbus_ui/templates/new/rollouts/risks/edit_form.html
+++ b/experimenter/experimenter/nimbus_ui/templates/new/rollouts/risks/edit_form.html
@@ -5,7 +5,8 @@
diff --git a/experimenter/experimenter/nimbus_ui/templates/new/rollouts/rollout_detail.html b/experimenter/experimenter/nimbus_ui/templates/new/rollouts/rollout_detail.html
index 59cc77d0fc..33afc4c1ce 100644
--- a/experimenter/experimenter/nimbus_ui/templates/new/rollouts/rollout_detail.html
+++ b/experimenter/experimenter/nimbus_ui/templates/new/rollouts/rollout_detail.html
@@ -12,10 +12,6 @@
{% if experiment.monitoring_data %}
{% include "new/rollouts/detail_card.html" with card_id="monitoring" title=NimbusUIConstants.MONITORING_CARD_TITLE subtitle="Enrollment funnel and branch health" show_edit_btn=False body_template="new/rollouts/monitoring/card.html" %}
- {% endif %}
- {% if experiment.is_rolling_out %}
- {% include "new/rollouts/detail_card.html" with card_id="schedule" title="Rollout schedule" subtitle="Gradually increase the rollout population in phases" show_edit_btn=True body_template="new/rollouts/schedule/card.html" %}
-
{% endif %}
{% if experiment.is_preview %}
@@ -23,40 +19,20 @@
{% endif %}
- {# ── Define ── #}
-
-
Define
- {# EXP-6681: Rollout Overview Form/Card #}
- {% include "new/rollouts/detail_card.html" with card_id="overview" title="Overview" subtitle="Name · Observations & Problem Space · Public Description · Application · Important Links · Project Tags · Subscribers" show_edit_btn=experiment.is_draft body_template="new/rollouts/overview/card.html" %}
-
- {# TODO EXP-6682: Rollout Risks Form/Card #}
- {% include "new/rollouts/detail_card.html" with card_id="risks" title="Risks" subtitle="Consider possible risks if the public interacts with your experiment" show_edit_btn=experiment.is_draft body_template="new/rollouts/risks/card.html" %}
- {% include "new/rollouts/detail_card.html" with card_id="signoff" title="Sign-Offs" subtitle="QA, VP, and Legal Sign-offs" show_edit_btn=True body_template="new/rollouts/signoff/card.html" %}
-
-
- {# ── Configure ── #}
-
-
Configure
- {# TODO EXP-6683: Rollout Audience Form/Card #}
- {% include "new/rollouts/detail_card.html" with card_id="audience" title="Audience" subtitle="Branch treatment details" show_edit_btn=experiment.is_draft body_template="new/rollouts/audience/card.html" %}
-
-
- {# ── Build ── #}
-
-
Build
- {# TODO EXP-6685: Rollout Features Form/Card #}
- {% include "new/rollouts/detail_card.html" with card_id="rollout-features" title="Rollout Features" subtitle="Describe the rollout experience" show_edit_btn=experiment.is_draft body_template="new/rollouts/rollout_features/card.html" %}
-
- {% if not experiment.is_rolling_out %}
- {% include "new/rollouts/detail_card.html" with card_id="schedule" title="Rollout schedule" subtitle="Gradually increase the rollout population in phases" show_edit_btn=experiment.is_draft body_template="new/rollouts/schedule/card.html" %}
-
- {% endif %}
-
- {# ── Check ── #}
-
-
Check
- {% include "new/rollouts/detail_card.html" with card_id="qa" title="Quality Assurance Checks (QA)" subtitle="Request a QA or do a Self QA" show_edit_btn=True body_template="new/rollouts/qa/card.html" %}
-
-
+ {% include "new/rollouts/detail_card.html" with card_id="overview" title="Overview" show_edit_btn=experiment.is_draft body_template="new/rollouts/overview/card.html" %}
+
+ {% if experiment.is_rolling_out %}
+ {% include "new/rollouts/detail_card.html" with card_id="schedule" title="Rollout schedule" show_edit_btn=True body_template="new/rollouts/schedule/card.html" %}
+
+ {% else %}
+ {% include "new/rollouts/detail_card.html" with card_id="schedule" title="Rollout schedule" show_edit_btn=experiment.is_draft body_template="new/rollouts/schedule/card.html" %}
+
+ {% endif %}
+ {% include "new/rollouts/detail_card.html" with card_id="audience" title="Audience" show_edit_btn=experiment.is_draft body_template="new/rollouts/audience/card.html" %}
+ {% include "new/rollouts/detail_card.html" with card_id="rollout-features" title="Rollout Features" show_edit_btn=experiment.is_draft body_template="new/rollouts/rollout_features/card.html" %}
+ {% include "new/rollouts/detail_card.html" with card_id="signoff" title="Sign-Offs" show_edit_btn=True body_template="new/rollouts/signoff/card.html" %}
+ {% include "new/rollouts/detail_card.html" with card_id="risks" title="Risks" show_edit_btn=experiment.is_draft body_template="new/rollouts/risks/card.html" %}
+ {% include "new/rollouts/detail_card.html" with card_id="qa" title="Quality Assurance Checks (QA)" show_edit_btn=True body_template="new/rollouts/qa/card.html" %}
+
{% endblock %}
diff --git a/experimenter/experimenter/nimbus_ui/templates/new/rollouts/rollout_features/edit_form.html b/experimenter/experimenter/nimbus_ui/templates/new/rollouts/rollout_features/edit_form.html
index 7d54a4b66d..25cb537066 100644
--- a/experimenter/experimenter/nimbus_ui/templates/new/rollouts/rollout_features/edit_form.html
+++ b/experimenter/experimenter/nimbus_ui/templates/new/rollouts/rollout_features/edit_form.html
@@ -11,7 +11,8 @@
hx-target="#rollout-rollout-features-body"
hx-swap="outerHTML"
hx-encoding="multipart/form-data"
- class="d-flex flex-column gap-4">
+ hx-disabled-elt="#rollout-rollout-features-save"
+ class="card-edit-form d-flex flex-column gap-4">
{% csrf_token %}