mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
add no-footer prop to remove default footer on CardForm
This commit is contained in:
parent
6f028961c0
commit
fb3c178593
1 changed files with 3 additions and 2 deletions
|
@ -15,7 +15,7 @@
|
|||
</b-form>
|
||||
</template>
|
||||
|
||||
<slot name="buttons" slot="buttons">
|
||||
<slot v-if="!noFooter" name="buttons" slot="buttons">
|
||||
<b-button
|
||||
type="submit" variant="success"
|
||||
:form="id" :disabled="disabled"
|
||||
|
@ -37,7 +37,8 @@ export default {
|
|||
validation: { type: Object, default: null },
|
||||
serverError: { type: String, default: '' },
|
||||
inline: { type: Boolean, default: false },
|
||||
formClasses: { type: [Array, String, Object], default: null }
|
||||
formClasses: { type: [Array, String, Object], default: null },
|
||||
noFooter: { type: Boolean, default: false }
|
||||
},
|
||||
|
||||
computed: {
|
||||
|
|
Loading…
Add table
Reference in a new issue