mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-12-02 12:13:54 +01:00
Account creation form improvements.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div>
|
||||
<div class="text-subtitle-1 grey--text text--darken-1 mb-4" :class="{ 'label--disabled': disabled }">
|
||||
<label class="v-label">{{ label }}</label>
|
||||
<label class="m-label">{{ label }}</label>
|
||||
</div>
|
||||
<div class="d-flex" v-for="(lineChoices, index1) in formatedChoices" :key="index1">
|
||||
<div v-for="(choice, index2) in lineChoices"
|
||||
|
||||
@@ -10,12 +10,14 @@
|
||||
dense
|
||||
>
|
||||
<template v-if="item.value !== undefined">
|
||||
<v-col><span class="grey--text">{{ item.key }}</span></v-col>
|
||||
<v-col class="text-right" v-if="item.type === 'yesno'">{{ item.value|yesno }}</v-col>
|
||||
<v-col class="text-right" v-else-if="item.type === 'list'">
|
||||
{{ displayList(item.value) }}
|
||||
</v-col>
|
||||
<v-col class="text-right" v-else>{{ item.value }}</v-col>
|
||||
<slot :name="`item.${item.name}`" v-bind:item="item" v-bind:displayList="displayList">
|
||||
<v-col><span class="grey--text">{{ item.key }}</span></v-col>
|
||||
<v-col class="text-right" v-if="item.type === 'yesno'">{{ item.value|yesno }}</v-col>
|
||||
<v-col class="text-right" v-else-if="item.type === 'list'">
|
||||
{{ displayList(item.value) }}
|
||||
</v-col>
|
||||
<v-col class="text-right" v-else>{{ item.value }}</v-col>
|
||||
</slot>
|
||||
</template>
|
||||
</v-row>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user