From 6050c44f3834e3c834d227de837cc2d7e2f973f8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ole=20Volds=C3=A6ter?= <ole.voldsater@uib.no>
Date: Fri, 25 Sep 2020 13:18:27 +0200
Subject: [PATCH] forenkling, bruker eksisterende template

---
 src/components/inflection/AdjectiveMF_F.vue | 32 ++++-----------------
 1 file changed, 6 insertions(+), 26 deletions(-)

diff --git a/src/components/inflection/AdjectiveMF_F.vue b/src/components/inflection/AdjectiveMF_F.vue
index 54e2d316..476e7ff1 100644
--- a/src/components/inflection/AdjectiveMF_F.vue
+++ b/src/components/inflection/AdjectiveMF_F.vue
@@ -1,37 +1,17 @@
 <template>
-  <table>
-    <tr>
-      <th rowspan="2">Adjektiv</th><th colspan="4">Entall</th><th>Flertall</th><th colspan="3">Gradbøying</th>
-    </tr>
-    <tr>
-      <th>Hankjønn/Hokjønn</th>
-      <th>Hokjønn</th>
-      <th>Inkjekjønn</th>
-      <th>Bunden form</th>
-      <th></th>
-      <th>Komparativ</th>
-      <th>Superlativ</th>
-      <th>Superlativ, bunden form</th>
-    </tr>
-    <tr v-for="(std, index) in standardisations" :key="index">
-      <td></td>
-      <td>{{std.inflection[0].word_form}}</td>
-      <td>{{std.inflection[1].word_form}}</td>
-      <td>{{std.inflection[2].word_form}}</td>
-      <td>{{std.inflection[3].word_form}}</td>
-      <td>{{std.inflection[4].word_form}}</td>
-      <td>{{std.inflection[5].word_form}}</td>
-      <td>{{std.inflection[6].word_form}}</td>
-      <td>{{std.inflection[7].word_form}}</td>
-    </tr>
-  </table>
+  <ADJ_masc_fem :standardisations="standardisations"></ADJ_masc_fem>
 </template>
 
 <script>
+import ADJ_masc_fem from './AdjectiveMF.vue'
+
 export default {
   name: "ADJ_masc_fem_fem",
   props: {
     standardisations: Array
+  },
+  components: {
+    ADJ_masc_fem
   }
 }
 </script>
-- 
GitLab