adrema/resources/js/views/sendpayment/Form.vue

30 lines
617 B
Vue
Raw Normal View History

2021-07-17 18:46:02 +02:00
<template>
2021-10-29 21:44:23 +02:00
<div class="grid grid-cols-2">
<div class="p-6" v-for="type in types">
<p class="text-white" v-for="paragraph in type.text" v-text="paragraph"></p>
<a :href="type.link.href" target="_BLANK" class="btn btn-primary mt-3 inline-block" v-text="type.link.label"></a>
</div>
2021-07-17 18:46:02 +02:00
</div>
</template>
<script>
export default {
data: function() {
return {
inner: {},
};
},
props: {
2021-10-29 21:44:23 +02:00
types: {}
2021-07-17 18:46:02 +02:00
},
methods: {
submit() {
this.$inertia.post(`/allpayment`, this.inner)
}
}
};
</script>