Skip to content

Commit

Permalink
Tidy-up demographics and documents pages
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinEtchells committed Jul 25, 2024
1 parent a1da412 commit 9d6f302
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions django_app/redbox_app/redbox_core/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ class Meta:
"grade": "Grade",
"profession": "Profession",
}
widgets: ClassVar[Mapping[str, forms.Widget]] = {
"name": forms.TextInput(attrs={"class": "govuk-input govuk-!-width-one-half"}),
"ai_experience": forms.RadioSelect(attrs={"class": "govuk-radios__item"}),
"business_unit": forms.Select(attrs={"class": "govuk-select govuk-!-width-one-third"}),
"grade": forms.Select(attrs={"class": "govuk-select govuk-!-width-one-third"}),
"profession": forms.Select(attrs={"class": "govuk-select govuk-!-width-one-third"}),
}

def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
Expand Down
2 changes: 1 addition & 1 deletion django_app/redbox_app/templates/documents.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ <h1 class="govuk-heading-l govuk-!-margin-top-5">Your documents</h1>

<p class="govuk-body-l">Manage documents to use with your Redbox.</p>

<p class="govuk-body">Redbox is a service that lets you securely use a Large Language Model (LLM) with or without documents up to OFFICIAL-SENSITIVE.</p>
<p class="govuk-body">Redbox is a service that lets you securely use a Large Language Model (LLM) with or without documents up to OFFICIAL SENSITIVE.</p>
<p class="govuk-body govuk-!-margin-bottom-1">This means you can:</p>
<ul class="govuk-list govuk-list--bullet govuk-body">
<li>Chat directly with an LLM (currently GPT-4o)</li>
Expand Down

0 comments on commit 9d6f302

Please sign in to comment.