<template>
  <Back
    :href="
      formatHref({
        name: $_page('EventPage', getAttrs($attrs)),
        params: $_params(getAttrs($attrs))
      })
    "
  />
</template>

<script>
import { formatHref } from '@inside-library/helpers/Langs'
import { getAttrs } from '@inside-library/helpers/Attrs'

import Back from '@inside-commons/components/lib/Back'

import mixin from '../../mixins/register-feedback-forms-mixin'

export default {
  name: 'EventBack',
  components: { Back },
  mixins: [mixin],
  methods: {
    formatHref,
    getAttrs
  }
}
</script>
