adrema/resources/js/views/setting/Form.vue

25 lines
1.0 KiB
Vue
Raw Normal View History

2024-05-27 19:47:28 +02:00
<template>
<page-layout>
<template #right>
<f-save-button form="formsettingsform"></f-save-button>
</template>
<setting-layout>
<form id="formsettingsform" class="grow p-6 grid grid-cols-2 gap-3 items-start content-start" @submit.prevent="submit">
<div class="col-span-full text-gray-100 mb-3">
<p class="text-sm">Hier kannst du Einstellungen für Anmeldeformulare setzen.</p>
</div>
<div class="grid grid-cols-2 gap-4">
2024-08-01 17:30:55 +02:00
<f-text id="register_url" v-model="data.registerUrl" label="Formular-Link"></f-text>
<f-text id="clear_cache_url" v-model="data.clearCacheUrl" label="Frontend-Cache-Url"></f-text>
2024-05-27 19:47:28 +02:00
</div>
</form>
</setting-layout>
</page-layout>
</template>
2024-08-01 17:30:55 +02:00
<script setup>
import {props, useSettings} from './useSettings.js';
const innerProps = defineProps(props);
const {submit, data, meta, SettingLayout} = useSettings(innerProps);
2024-05-27 19:47:28 +02:00
</script>