Commit 56b1e846 authored by Enrique Alcantara's avatar Enrique Alcantara

Use common utils classes

parent 7c4b6aba
...@@ -222,7 +222,7 @@ export default { ...@@ -222,7 +222,7 @@ export default {
<div class="row"> <div class="row">
<div v-if="settings.allowMultiRule" class="form-group col-sm-6"> <div v-if="settings.allowMultiRule" class="form-group col-sm-6">
<label class="label-wrapper"> <label class="label-wrapper">
<span class="form-label label-bold">{{ s__('ApprovalRule|Name') }}</span> <span class="mb-2 bold inline">{{ s__('ApprovalRule|Name') }}</span>
<input <input
v-model="name" v-model="name"
:class="{ 'is-invalid': validation.name }" :class="{ 'is-invalid': validation.name }"
...@@ -236,9 +236,9 @@ export default { ...@@ -236,9 +236,9 @@ export default {
</div> </div>
<div class="form-group col-sm-6"> <div class="form-group col-sm-6">
<label class="label-wrapper"> <label class="label-wrapper">
<span class="form-label label-bold">{{ <span class="mb-2 bold inline">
s__('ApprovalRule|No. approvals required') {{ s__('ApprovalRule|No. approvals required') }}
}}</span> </span>
<input <input
v-model.number="approvalsRequired" v-model.number="approvalsRequired"
:class="{ 'is-invalid': validation.approvalsRequired }" :class="{ 'is-invalid': validation.approvalsRequired }"
...@@ -264,11 +264,13 @@ export default { ...@@ -264,11 +264,13 @@ export default {
/> />
<div class="invalid-feedback">{{ validation.approvers }}</div> <div class="invalid-feedback">{{ validation.approvers }}</div>
</div> </div>
<gl-button variant="success" class="btn-inverted prepend-left-8" @click="addSelection"> <gl-button variant="success" class="btn-inverted prepend-left-8" @click="addSelection">{{
{{ __('Add') }} __('Add')
</gl-button> }}</gl-button>
</div> </div>
</div> </div>
<div class="bordered-box overflow-auto h-12em"><approvers-list v-model="approvers" /></div> <div class="bordered-box overflow-auto h-12em">
<approvers-list v-model="approvers" />
</div>
</form> </form>
</template> </template>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment