Bug 32180: Add required class to labels in ERM
To test: 1. Apply patch, yarn build 2. Add/edit Agreemnets, make sure all required fields have a red 'required' label 3. Check 'Add new period', 'Add new user', 'Add new license', 'Add new related agreement'. 4. Add/edit Licenses, make sure all required fields have a red 'required' label. Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
6d6f763182
commit
2dd0a14571
5 changed files with 16 additions and 10 deletions
|
@ -16,7 +16,7 @@
|
|||
</legend>
|
||||
<ol>
|
||||
<li>
|
||||
<label :for="`license_id_${counter}`"
|
||||
<label :for="`license_id_${counter}`" class="required"
|
||||
>{{ $__("License") }}:</label
|
||||
>
|
||||
<v-select
|
||||
|
@ -38,7 +38,7 @@
|
|||
<span class="required">{{ $__("Required") }}</span>
|
||||
</li>
|
||||
<li>
|
||||
<label :for="`license_status_${counter}`"
|
||||
<label :for="`license_status_${counter}`" class="required"
|
||||
>{{ $__("Status") }}:</label
|
||||
>
|
||||
<v-select
|
||||
|
|
|
@ -16,7 +16,9 @@
|
|||
</legend>
|
||||
<ol>
|
||||
<li>
|
||||
<label :for="`related_agreement_id_${counter}`"
|
||||
<label
|
||||
:for="`related_agreement_id_${counter}`"
|
||||
class="required"
|
||||
>{{ $__("Related agreement") }}:
|
||||
</label>
|
||||
<v-select
|
||||
|
@ -38,7 +40,9 @@
|
|||
<span class="required">{{ $__("Required") }}</span>
|
||||
</li>
|
||||
<li>
|
||||
<label :for="`related_agreement_relationship_${counter}`"
|
||||
<label
|
||||
:for="`related_agreement_relationship_${counter}`"
|
||||
class="required"
|
||||
>{{ $__("Relationship") }}:
|
||||
</label>
|
||||
<v-select
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
<fieldset class="rows">
|
||||
<ol>
|
||||
<li>
|
||||
<label class="required" for="agreement_name"
|
||||
<label for="agreement_name" class="required"
|
||||
>{{ $__("Agreement name") }}:</label
|
||||
>
|
||||
<input
|
||||
|
@ -49,7 +49,7 @@
|
|||
/>
|
||||
</li>
|
||||
<li>
|
||||
<label for="agreement_status"
|
||||
<label for="agreement_status" class="required"
|
||||
>{{ $__("Status") }}:</label
|
||||
>
|
||||
<v-select
|
||||
|
|
|
@ -37,7 +37,9 @@
|
|||
/>
|
||||
</li>
|
||||
<li>
|
||||
<label for="license_description"
|
||||
<label
|
||||
for="license_description"
|
||||
class="required"
|
||||
>{{ $__("Description") }}:
|
||||
</label>
|
||||
<textarea
|
||||
|
@ -53,7 +55,7 @@
|
|||
}}</span>
|
||||
</li>
|
||||
<li>
|
||||
<label for="license_type"
|
||||
<label for="license_type" class="required"
|
||||
>{{ $__("Type") }}:</label
|
||||
>
|
||||
<v-select
|
||||
|
@ -77,7 +79,7 @@
|
|||
}}</span>
|
||||
</li>
|
||||
<li>
|
||||
<label for="license_status"
|
||||
<label for="license_status" class="required"
|
||||
>{{ $__("Status") }}:</label
|
||||
>
|
||||
<v-select
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
>)
|
||||
</li>
|
||||
<li>
|
||||
<label :for="`user_role_${counter}`"
|
||||
<label :for="`user_role_${counter}`" class="required"
|
||||
>{{ $__("Role") }}:</label
|
||||
>
|
||||
<v-select
|
||||
|
|
Loading…
Reference in a new issue