<template>
  <Capsule
    v-bind="{ ...$attrs, ...$props }"
    :scaffold-overrides="scaffoldOverrides"
  />
</template>

<script>
import Capsule from '@inside-news/components/lib/Capsule'

export default {
  name: 'FormCapsule',
  components: { Capsule },
  methods: {
    scaffoldOverrides(fields, { deleteItems }) {
      deleteItems('author')
    }
  }
}
</script>
