All files / components/Admin/Articles/ArticlesTable CreateArticle.vue

100% Statements 3/3
100% Branches 2/2
100% Functions 1/1
100% Lines 3/3

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39                          1x   2x         1x                                    
<template>
  <div class="row w-100 justify-content-center m-0 mt-3">
    <div class="d-flex flex-column col-10">
      <div class="d-flex w-100 mb-3 d-flex align-items-center">
        <button v-on:click="$emit('setIsTable')" class="mr-3">
          <BIconArrowLeft />
        </button>
        <h6 class="m-0">Create Article</h6>
      </div>
      <ArticleForm />
    </div>
  </div>
</template>
 
<script>
import ArticleForm from "../ArticleForm";
 
export default {
  name: "AdminArticle",
  components: { ArticleForm },
};
</script>
 
<style scoped>
.button {
  border-radius: 5px;
  background: none;
}
 
.border-left {
  border-radius: 5px 0 0 5px;
  border: 1px solid #000;
}
 
.border-right {
  border-radius: 0 5px 5px 0;
  border: 1px solid #000;
}
</style>