daily pastebin goal
85%
SHARE
TWEET

data_pegawai

a guest Feb 23rd, 2018 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. extends layout
  2.  
  3. block content
  4.   div.data-content
  5.     h3= title
  6.     button.btn.btn-info(data-toggle='collapse', data-target='#panel', aria-expanded='false', aria-controls='panel') Tambah Data
  7.     p
  8.     #panel.panel-collapse.collapse
  9.       form.form-horizontal(method='post' action='/pegawai_simpan' autocomplete='off')
  10.         div.form-group
  11.           div.col-sm-8
  12.             p NIP :
  13.             input.form-control(type='text' name='nip' placeholder='Masukkan Nama NIP')
  14.         div.form-group
  15.           div.col-sm-8
  16.             p Nama :
  17.             input.form-control(type='text' name='nama' placeholder='Masukkan Nama Pegawai')
  18.         div.form-group
  19.           div.col-sm-8
  20.             p Tempat Lahir :
  21.             input.form-control(type='text' name='tmp_lhr' placeholder='Masukkan Tempat Lahir')
  22.         div.form-group
  23.           div.col-sm-4
  24.             button.btn.btn-primary(type='submit') Simpan
  25.  
  26.     table.table(border='1')
  27.       thead.table-title
  28.         th.active NIP
  29.         th.active NAMA
  30.         th.active TEMPAT LAHIR
  31.         th.active AKSI
  32.       tbody
  33.         each s in pegawai
  34.           tr
  35.             td #{s.nip}
  36.             td #{s.nama}
  37.             td #{s.tmp_lhr}
  38.             td #[a(href='/pegawai_sunting/'+s.nip) Sunting] | #[a(href='/pegawai_hapus/'+s.nip) Hapus]
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top