logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe

confirm.vue (382B)


      1 <template>
      2   <div>
      3     <slot />
      4     <button
      5       class="btn btn-default"
      6       :disabled="disabled"
      7       @click="confirm"
      8     >
      9       {{ $t('general.confirm') }}
     10     </button>
     11     <button
     12       class="btn btn-default"
     13       :disabled="disabled"
     14       @click="cancel"
     15     >
     16       {{ $t('general.cancel') }}
     17     </button>
     18   </div>
     19 </template>
     20 
     21 <script src="./confirm.js">
     22 </script>