diff --git a/styles/components/_forms.scss b/styles/components/_forms.scss index f78f2dc3..fd0563d3 100644 --- a/styles/components/_forms.scss +++ b/styles/components/_forms.scss @@ -171,3 +171,6 @@ } } +.inline-form { + display: inline-block; +} diff --git a/templates/portfolios/task_orders/invitations.html b/templates/portfolios/task_orders/invitations.html index c0934c14..8718eb61 100644 --- a/templates/portfolios/task_orders/invitations.html +++ b/templates/portfolios/task_orders/invitations.html @@ -70,18 +70,9 @@

{{ ("task_orders.invitations." + officer_type + ".title") | translate }}

{{ ("task_orders.invitations." + officer_type + ".description") | translate }}

- {% set prefix = { "contracting_officer": "ko", "contracting_officer_representative": "cor", "security_officer": "so" }[officer_type] %} - -
- {{ form.csrf_token }} - - -
-
+ {% set prefix = { "contracting_officer": "ko", "contracting_officer_representative": "cor", "security_officer": "so" }[officer_type] %} {% set first_name = task_order[prefix + "_first_name"] %} {% set last_name = task_order[prefix + "_last_name"] %} {% set email = task_order[prefix + "_email"] %} @@ -89,7 +80,6 @@ {% set dod_id = task_order[prefix + "_dod_id"] %} {% set invited = False %} - {% if task_order[officer_type] %} {% set invited = True %}
@@ -106,7 +96,16 @@
{{ Link("Update", "edit", onClick="edit") }} - {{ Link("Resend Invitation", "avatar") }} + +
+ {{ form.csrf_token }} + + +
+ {{ Link("Remove", "trash", classes="remove") }}
{% elif first_name and last_name %}