<template>
  <div class="pp-user-form-builder">
    <component :is="currentLayout" :isAdminFront="true">
      <template v-slot:content>
        <pp-user-form />
      </template>
    </component>
  </div>
</template>

<script>
import PPUserForm from './PPUserForm'

export default {
  name: 'pp-user-form-builder',
  components: {
    'pp-user-form': PPUserForm
  },
  data() {
    return {
      currentLayout: `${JSON.parse(process.env.GLOBAL).layout}-layouts`
    }
  }
}
</script>

<style lang="scss">
.pp-user-form-builder {
  .layout-horizontal__content {
    min-height: auto;
    padding: 0;
  }
}
</style>
