forms: Update create organization part of registration form.

Adds a legend to the "org-registration" fieldset where the user
inputs info about the new organization. Previously, there was only
a legend for the "user-registration" fieldset. Also, increases
the opacity of CSS rule for the legend color so that they are
more visible.

Removes the hint text about what the organization URL value is
used for since it is pretty clear from the field's name.
This commit is contained in:
Lauryn Menard 2022-09-12 17:53:44 +02:00 committed by Tim Abbott
parent cdb1db156f
commit 899f535b39
2 changed files with 2 additions and 4 deletions

View File

@ -960,7 +960,7 @@ button#register_auth_button_gitlab {
margin-bottom: 0;
font-size: 21px;
line-height: 40px;
color: hsla(0, 0%, 0%, 0.2);
color: hsla(0, 0%, 0%, 0.5);
border: 0;
border-bottom: 1px solid hsla(0, 0%, 90%, 1);

View File

@ -28,6 +28,7 @@ Form is validated both client-side using jquery-validation (see signup.js) and s
<fieldset class="org-registration">
{% if creating_new_team %}
<legend>{{ _('Your organization') }}</legend>
<div class="input-box">
<div class="inline-block relative">
<input id="id_team_name" class="required" type="text"
@ -93,9 +94,6 @@ Form is validated both client-side using jquery-validation (see signup.js) and s
{% endfor %}
{% endif %}
</div>
<div class="help-text">
{{ _("The URL users will use to access the new organization.") }}
</div>
</div>
{% endif %}
</fieldset>