<script setup lang="ts">
import Block from '~/components/pub/my-ui/form/block.vue'
import FieldGroup from '~/components/pub/my-ui/form/field-group.vue'
import Field from '~/components/pub/my-ui/form/field.vue'
import Label from '~/components/pub/my-ui/form/label.vue'
import Action from '~/components/pub/my-ui/nav-footer/ba-dr-su.vue'
</script>

<template>
  <form id="entry-form">
    <div class="mb-5 border-b border-b-slate-300 pb-3 text-lg xl:text-xl">
      <Block>
        <FieldGroup :column="3">
          <Label>Nama</Label>
          <Field>
            <Input type="text" name="name" />
          </Field>
        </FieldGroup>
        <FieldGroup :column="3">
          <Label>Nama</Label>
          <Field>
            <Input type="text" name="name" />
          </Field>
        </FieldGroup>
        <FieldGroup :column="3">
          <Label>Nomor RM</Label>
          <Field>
            <Input type="text" name="name" />
          </Field>
        </FieldGroup>
        <FieldGroup>
          <Label dynamic>Alamat</Label>
          <Field>
            <Input type="text" name="name" />
          </Field>
        </FieldGroup>
      </Block>
    </div>
    <div class="my-2 flex justify-end py-2">
      <Action />
    </div>
  </form>
</template>
