workspace-settings.vue 1 KB
Newer Older
1
<template>
2
3
  <main>
    <section class="max-w-4xl mx-auto p-9">
4
      <h2 class="mb-4 text-2xl" v-text="$t('form.settings.title')">Informations générales</h2>
5
      <form v-on:submit.prevent="save()">
6
        <oa-input id="id" :label="$t('form.settings.id')" type="text" :value="workspace.id" required="true" disabled="true"></oa-input>
7
8
9
10
11
12
13
14
15
16
17
18
19
20
        <oa-input
          id="name"
          :label="$t('form.settings.name')"
          type="text"
          :value="workspace.name"
          required="true"
          @update="setName"
        ></oa-input>
        <oa-textarea
          id="description"
          :label="$t('form.settings.description')"
          :value="workspace.description"
          @update="setDescription"
        ></oa-textarea>
21
        <oa-button type="submit" variant="primary" :label="$t('button.save')"></oa-button>
22
23
24
25
      </form>
      <admin-users-table :users="authorizedUsers"></admin-users-table>
    </section>
  </main>
26
27
</template>

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