Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @extends('layouts.master')
- @section('content')
- <div class="row">
- <div class="col-md-12">
- <h4>{{ $title }}</h4>
- <div class="box box-warning">
- <div class="box-header">
- <p>
- <button class="btn btn-sm btn-flat btn-warning btn-refresh"><i class="fa fa-refresh"></i> Refresh</button>
- </p>
- </div>
- <div class="box-body">
- <form role="form" method="post" action="{{ url('karyawan/add') }}">
- {{ csrf_field() }}
- <div class="box-body">
- <div class="form-group">
- <label for="exampleInputEmail1">Email address</label>
- <input type="email" name="email" class="form-control" id="exampleInputEmail1" placeholder="Enter email">
- </div>
- <div class="form-group">
- <label for="exampleInputPassword1">Nama</label>
- <input type="text" name="name" class="form-control" id="exampleInputPassword1" placeholder="Nama">
- </div>
- </div>
- <!-- /.box-body -->
- <div class="box-footer">
- <button type="submit" class="btn btn-primary">Submit</button>
- </div>
- </form>
- </div>
- </div>
- </div>
- </div>
- @endsection
- @section('scripts')
- <script type="text/javascript">
- $(document).ready(function(){
- // btn refresh
- $('.btn-refresh').click(function(e){
- e.preventDefault();
- $('.preloader').fadeIn();
- location.reload();
- })
- })
- </script>
Add Comment
Please, Sign In to add comment