Update new add page with new properties
This commit is contained in:
parent
88f1db7bfc
commit
6bc6f5fa33
|
|
@ -102,44 +102,28 @@
|
||||||
<a class="button">Abbrechen</a>
|
<a class="button">Abbrechen</a>
|
||||||
</footer>
|
</footer>
|
||||||
</div>
|
</div>
|
||||||
</div></template>
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import Toggle from '@/components/ui/Toggle';
|
import Toggle from '@/components/ui/Toggle';
|
||||||
import ContentFormSection from '@/components/content-block-form/ContentFormSection';
|
import ContentFormSection from '@/components/content-block-form/ContentFormSection';
|
||||||
import TextForm from '@/components/content-forms/TextForm';
|
|
||||||
import InputWithLabel from '@/components/ui/InputWithLabel';
|
import InputWithLabel from '@/components/ui/InputWithLabel';
|
||||||
import AddContentLink from '@/components/content-block-form/AddContentLink';
|
import AddContentLink from '@/components/content-block-form/AddContentLink';
|
||||||
import ContentBlockElementChooserWidget from '@/components/content-forms/ContentBlockElementChooserWidget';
|
|
||||||
import ContentElement from '@/components/content-block-form/ContentElement';
|
import ContentElement from '@/components/content-block-form/ContentElement';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
ContentElement,
|
ContentElement,
|
||||||
ContentBlockElementChooserWidget,
|
|
||||||
AddContentLink,
|
AddContentLink,
|
||||||
InputWithLabel,
|
InputWithLabel,
|
||||||
TextForm,
|
|
||||||
ContentFormSection,
|
ContentFormSection,
|
||||||
Toggle,
|
Toggle,
|
||||||
},
|
},
|
||||||
|
|
||||||
data: () => ({
|
data: () => ({
|
||||||
val: '',
|
title: '',
|
||||||
blocks: [
|
blocks: [
|
||||||
{
|
|
||||||
id: 1,
|
|
||||||
type: 'content-block-element-chooser-widget',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: 2,
|
|
||||||
type: 'content_list',
|
|
||||||
items: [
|
|
||||||
{
|
|
||||||
type: 'content-block-element-chooser-widget',
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
],
|
],
|
||||||
}),
|
}),
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue