FormWrapper.vue 741 B

123456789101112131415161718192021222324252627282930313233
  1. <template>
  2. <div class="columns is-centered">
  3. <div class="form-column column is-two-thirds-tablet is-half-desktop is-one-third-widescreen is-one-third-fullhd">
  4. <h1 class="title" v-html="title" v-if="title"></h1>
  5. <div v-if="punchline" class="block" v-html="punchline"></div>
  6. <slot />
  7. </div>
  8. </div>
  9. </template>
  10. <script>
  11. export default {
  12. name: 'FormWrapper',
  13. data() {
  14. return {
  15. }
  16. },
  17. props: {
  18. title: {
  19. type: String,
  20. default: ''
  21. },
  22. punchline: {
  23. type: String,
  24. default: ''
  25. },
  26. }
  27. }
  28. </script>