2020-01-28 15:33:33 +01:00
|
|
|
<template>
|
|
|
|
<div class="columns is-centered">
|
2020-11-24 14:17:41 +01:00
|
|
|
<div class="form-column column is-two-thirds-tablet is-half-desktop is-one-third-widescreen is-one-third-fullhd">
|
2020-02-13 08:50:20 +01:00
|
|
|
<h1 class="title" v-html="title" v-if="title"></h1>
|
2020-11-24 22:57:32 +01:00
|
|
|
<div v-if="punchline" class="block" v-html="punchline"></div>
|
2020-01-28 15:33:33 +01:00
|
|
|
<slot />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
export default {
|
|
|
|
name: 'FormWrapper',
|
|
|
|
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
props: {
|
|
|
|
title: {
|
|
|
|
type: String,
|
|
|
|
default: ''
|
|
|
|
},
|
2020-11-24 22:57:32 +01:00
|
|
|
|
|
|
|
punchline: {
|
|
|
|
type: String,
|
|
|
|
default: ''
|
|
|
|
},
|
2020-01-28 15:33:33 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|