place form footer in column

This commit is contained in:
2023-02-21 12:41:01 +10:00
parent d9e4ccfca8
commit a3a6fbcaa4

View File

@@ -15,15 +15,17 @@
<SMColumn><SMInput control="phone" /></SMColumn>
</SMRow>
<SMRow>
<SMFormFooter>
<template #right>
<SMButton
type="secondary"
label="Change Password"
@click.prevent="handleChangePassword" />
<SMButton type="submit" label="Update" />
</template>
</SMFormFooter>
<SMColumn>
<SMFormFooter>
<template #right>
<SMButton
type="secondary"
label="Change Password"
@click.prevent="handleChangePassword" />
<SMButton type="submit" label="Update" />
</template>
</SMFormFooter>
</SMColumn>
</SMRow>
</SMForm>
</template>
@@ -40,7 +42,6 @@ import { useRoute } from "vue-router";
import { openDialog } from "vue3-promise-dialog";
import SMInput from "../../components/SMInput.vue";
import SMButton from "../../components/SMButton.vue";
import SMDialog from "../../components/SMDialog.vue";
import SMForm from "../../components/SMForm.vue";
import SMPage from "../../components/SMPage.vue";
import SMHeading from "../../components/SMHeading.vue";