Advertisement
dwir4561

InputDataBuku

Apr 8th, 2020
918
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <template xmlns:v-slot="http://www.w3.org/1999/XSL/Transform">
  2.   <q-page padding class="items-center-justify-center bg-grey-3">
  3.     <q-card flat class="bg-white q-pa-md">
  4.       <span class="text-h5 text-weight-light q-pa-md">
  5.         <span class="text-blue-grey-14">Tambah Data Buku</span>
  6.       </span>
  7.       <div class="q-pa-md">
  8.         <q-form
  9.           class="q-gutter-md"
  10.         >
  11.  
  12.           <q-input
  13.             label="Judul Buku"
  14.             lazy-rules
  15.             color="teal"
  16.             v-model="judulBuku"
  17.             :rules="[
  18.            val => val !== null && val !== '' || 'Nama Poktan Dibutuhkan'
  19.            ]">
  20.             <template v-slot:append>
  21.               <q-icon name="person"/>
  22.             </template>
  23.           </q-input>
  24.  
  25.           <div>
  26.             <q-btn
  27.               unelevated
  28.               icon="add"
  29.               label="Tambah Data Poktan"
  30.               style="height: 50px"
  31.               color="teal-6"/>
  32.           </div>
  33.         </q-form>
  34.       </div>
  35.     </q-card>
  36.   </q-page>
  37. </template>
  38.  
  39. <script>
  40. export default {
  41.   data () {
  42.     return {
  43.       judulBuku: null
  44.     }
  45.   }
  46. }
  47. </script>
  48.  
  49. <style scoped>
  50.  
  51. </style>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement