displaying fields labels
This commit is contained in:
@@ -12,7 +12,8 @@ export default {
|
||||
// }
|
||||
// },
|
||||
computed: {
|
||||
...mapState(ConcernementsStore,['opened'])
|
||||
...mapState(ConcernementsStore,['opened']),
|
||||
...mapState(ConcernementsStore,['ct_concernement'])
|
||||
},
|
||||
created () {
|
||||
// console.log("Concernement view created, id", this.opened.id);
|
||||
@@ -29,9 +30,18 @@ export default {
|
||||
|
||||
<template>
|
||||
<section class="concernement">
|
||||
<h2>{{ opened.title }}</h2>
|
||||
<div v-html="opened.description"/>
|
||||
<div v-html="opened.caillou "/>
|
||||
<header>
|
||||
<label>{{ this.ct_concernement.title.description }}</label>
|
||||
<h2>{{ opened.title }}</h2>
|
||||
</header>
|
||||
<section class="description">
|
||||
<label>{{ this.ct_concernement.field_description.description }}</label>
|
||||
<div v-html="opened.description"/>
|
||||
</section>
|
||||
<section class="caillou">
|
||||
<label>{{ this.ct_concernement.field_caillou.description }}</label>
|
||||
<div v-html="opened.caillou "/>
|
||||
</section>
|
||||
</section>
|
||||
</template>
|
||||
|
||||
|
Reference in New Issue
Block a user