fadlyshafa

Untitled

Feb 4th, 2020
484
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 2.34 KB | None | 0 0
  1. @extends('layouts.master')
  2.  
  3. @section('content')
  4.  
  5. <div class="container">
  6.     <div class="row">
  7.         <div class="col-md-12">
  8.  
  9.             @if(Session::has('berhasil'))
  10.                 <div class="alert alert-success alert-dismissible">
  11.                     <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
  12.                     <h4><i class="icon fa fa-check"></i> Sukses!</h4>
  13.                     {{ Session::get('berhasil') }}
  14.                 </div>
  15.                 @endif
  16.  
  17.                 @if(Session::has('gagal'))
  18.                 <div class="alert alert-danger alert-dismissible">
  19.                     <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
  20.                     <h4><i class="icon fa fa-ban"></i> Gagal!</h4>
  21.                     {{ Session::get('gagal') }}
  22.                 </div>
  23.                 @endif
  24.            
  25.             <form role="form" method="post" action="{{ url('ppdb') }}" enctype="multipart/form-data">
  26.                 @csrf
  27.               <div class="box-body">
  28.                 <div class="form-group">
  29.                   <label for="exampleInputEmail1">Nama Peserta</label>
  30.                   <input type="text" class="form-control" id="exampleInputEmail1" placeholder="Nama Peserta" name="nama">
  31.                 </div>
  32.                 <div class="form-group">
  33.                   <label for="exampleInputPassword1">NISN</label>
  34.                   <input type="text" name="nisn" class="form-control" id="exampleInputPassword1" placeholder="NISN">
  35.                 </div>
  36.  
  37.                 <div class="form-group">
  38.                   <label for="exampleInputPassword1">Email</label>
  39.                   <input type="email" name="email" class="form-control" id="exampleInputPassword1" placeholder="Email">
  40.                 </div>
  41.  
  42.                 <div class="form-group">
  43.                   <label for="exampleInputFile">Photo Peserta</label>
  44.                   <input type="file" name="photo" id="exampleInputFile">
  45.  
  46.                   <p class="help-block">Example block-level help text here.</p>
  47.                 </div>
  48.                
  49.               </div>
  50.               <!-- /.box-body -->
  51.  
  52.               <div class="box-footer">
  53.                 <button type="submit" class="btn btn-primary">Submit</button>
  54.               </div>
  55.             </form>
  56.  
  57.         </div>
  58.     </div>
  59. </div>
  60.  
  61. @endsection
Add Comment
Please, Sign In to add comment