Advertisement
misolutions

Add-New-Training

Mar 15th, 2019
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.80 KB | None | 0 0
  1. @extends('layouts.app')
  2. @section('content')
  3.  
  4.  
  5. <div class="container">
  6. <div class="row justify-content-center">
  7. <div class="col-md-8">
  8. <div class="card">
  9. <div class="card-header">Insert new Training</div>
  10. <div class="card-body">
  11. <form method="post" action="{{url('trainings')}}">
  12.                 @csrf
  13.                   <label for="usr">Training Name</label>
  14.                   <input type="text" class="form-control" name="trainingname">
  15.  
  16.                   <label for="pwd">Description</label>
  17.                   <input type="text" class="form-control" name="desc">
  18.  
  19.                   <label for="pwd">Trainer</label>
  20.                   <input type="text" class="form-control" name="trainer">
  21.                   <button type="submit" class="btn btn-info"> Insert to DB </button>
  22.                 </form>
  23.        
  24.                 </div>         
  25.             </div>
  26.         </div>
  27.     </div>
  28. </div>
  29.  
  30. @endsection
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement