mirror of
https://github.com/danbulant/Nertivia-Client
synced 2026-06-16 13:01:09 +00:00
24 lines
362 B
Vue
24 lines
362 B
Vue
<template>
|
|
<div class="errors">
|
|
<div class="errors-title">Fix these mistakes:</div>
|
|
<li class="error" v-for="(error, index) in errors" :key="index">{{error.msg}}</li>
|
|
</div>
|
|
</template>
|
|
|
|
|
|
<script>
|
|
export default {
|
|
props: ['errors']
|
|
}
|
|
</script>
|
|
|
|
|
|
<style scoped>
|
|
|
|
.errors{
|
|
background: rgb(255, 62, 62);
|
|
color: white;
|
|
padding: 10px;
|
|
}
|
|
|
|
</style>
|