Advertisement
fxlik

blade html form

Sep 10th, 2018
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.97 KB | None | 0 0
  1. <form method="POST" action="{{route('mahasiswa.postTA')}}" enctype="multipart/form-data" data-toggle="validator">
  2.    
  3.     {{--ini kodingan editidor, contoh pake wysihtml5, bukan tinymce --}}
  4.     <div class="form-group">
  5.         <label>Abstak:</label>
  6.         <textarea rows="5" cols="5" name="abstrak"  class="wysihtml5 wysihtml5-min form-control form-control" placeholder="Abstrak" data-minlength="16" required></textarea>
  7.     </div>
  8.  
  9.     {{--trus ini kodingan buat upload file gambar, sesuaikan name dengan $request di controller -- }}
  10.     <div class="form-group">
  11.         <label class="display-block">Draf Usulan:</label>
  12.         <input type="file" name="draf" class="file-styled" required>
  13.         <span class="help-block">Accepted formats: pdf. Max file size 2Mb</span>
  14.     </div>
  15.    
  16.     {{-- tombol simpan --}}
  17.     <div class="text-left">
  18.         <button type="submit" id="kirim" class="btn btn-success"><i class="icon-paperplane position-left"></i> Kirim</button>
  19.     </div>
  20. </form>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement