This commit is contained in:
Rachid Mrad 2024-08-01 14:26:13 -04:00
parent aedb05dd34
commit 3e70b344e3
No known key found for this signature in database
3 changed files with 4 additions and 7 deletions

View file

@ -64,7 +64,7 @@ class User(AbstractUser):
class UserPortfolioRoleChoices(models.TextChoices): class UserPortfolioRoleChoices(models.TextChoices):
""" """
Roles make it easier for admins to look at groups of users Roles are containers of UserPortfolioPermissionChoices
""" """
ORGANIZATION_ADMIN = "organization_admin", "Admin" ORGANIZATION_ADMIN = "organization_admin", "Admin"

View file

@ -53,7 +53,7 @@
{% endwith %} {% endwith %}
</div> </div>
{% with show_edit_button=True show_readonly=True group_classes="usa-form-editable padding-top-2" %} {% with toggleable_input=True toggleable_label=True group_classes="usa-form-editable padding-top-2" %}
{% input_with_errors form.title %} {% input_with_errors form.title %}
{% endwith %} {% endwith %}

View file

@ -31,7 +31,7 @@
{% include "includes/form_errors.html" with form=form %} {% include "includes/form_errors.html" with form=form %}
{% include "includes/required_fields.html" %} {% include "includes/required_fields.html" %}
<form class="usa-form usa-form--large" method="post" novalidate id="form-container"> <form class="usa-form usa-form--large" method="post" novalidate>
{% csrf_token %} {% csrf_token %}
<h4 class="read-only-label">Federal agency</h4> <h4 class="read-only-label">Federal agency</h4>
<p class="read-only-value"> <p class="read-only-value">
@ -44,10 +44,7 @@
{% with add_class="usa-input--small" %} {% with add_class="usa-input--small" %}
{% input_with_errors form.zipcode %} {% input_with_errors form.zipcode %}
{% endwith %} {% endwith %}
<button <button type="submit" class="usa-button">
type="submit"
class="usa-button"
>
Save Save
</button> </button>
</form> </form>