div.shadow-3(style="padding: 1rem;")
q-modal(v-model="openModal")
div.bg-black.q-pa-lg.row
h5.no-margin.no-padding.col-12 Send an invitation
form-main.col-12(
:schema="schemaMail"
)
// .text-center
q-btn(@click="openModal = false") Abort
div.q-px-md
h5.light-paragraph
| {{ headl }}
span.float-right
q-btn(@click="openModal = true") Add user
q-data-table(
@rowclick="onRowClick($event)",
:dark="true",
:data="users",
:config="conf",
:columns="cols",
:actions="actns"
)
template(slot="col-name", slot-scope="cell")
template(v-for="c in cell")
// span(v-if="c.status") {{ c.name }}
| {{ c.name }}
template.text-center(slot="col-confirmed", slot-scope="cell")
div.text-center(v-if="cell.data")
q-icon(name="done")
template(slot="col-action", slot-scope="cell")
q-btn(
flat,
small,
v-for="a in actions",
:color="a.color || 'neutral'",
:key="a.type",
@click="action(a.type, cell, a.scope)"
) {{ $t(a.title) }}