workspace-settings.vue 802 Bytes
Newer Older
1
<template>
2
3
4
5
6
7
8
9
10
11
12
13
  <main>
    <section class="max-w-4xl mx-auto p-9">
      <h2 class="mb-4 text-2xl">Informations générales</h2>
      <form v-on:submit.prevent="save()">
        <oa-input id="id" label="ID" type="text" :value="workspace.id" required="true" disabled="true"></oa-input>
        <oa-input id="name" label="Nom" type="text" :value="workspace.name" required="true" @update="setName"></oa-input>
        <oa-textarea id="description" label="Description" :value="workspace.description" @update="setDescription"></oa-textarea>
        <oa-button type="submit" variant="primary" label="Enregistrer"></oa-button>
      </form>
      <admin-users-table :users="authorizedUsers"></admin-users-table>
    </section>
  </main>
14
15
</template>

16
<script lang="ts" src="./workspace-settings.component.ts" />