Form editor v2 (#579)
* Form editor v2 * fix template test * setFormDefaults when save * fix form cleaning dark mode * improvements on open sidebar * UI polish * Fix change type button --------- Co-authored-by: Julien Nahum <julien@nahum.net>
This commit is contained in:
30
client/components/global/Settings/SettingsSubSection.vue
Normal file
30
client/components/global/Settings/SettingsSubSection.vue
Normal file
@@ -0,0 +1,30 @@
|
||||
<template>
|
||||
<div class="mb-8 flex">
|
||||
<div class="w-1/3 pr-8">
|
||||
<h3 class="text-lg font-semibold mb-1">
|
||||
{{ title }}
|
||||
</h3>
|
||||
<p class="text-sm text-gray-500">
|
||||
{{ description }}
|
||||
</p>
|
||||
</div>
|
||||
<div class="w-2/3">
|
||||
<UCard class="divide-y divide-gray-200">
|
||||
<slot />
|
||||
</UCard>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
defineProps({
|
||||
title: {
|
||||
type: String,
|
||||
required: true
|
||||
},
|
||||
description: {
|
||||
type: String,
|
||||
required: true
|
||||
}
|
||||
})
|
||||
</script>
|
||||
Reference in New Issue
Block a user