diff --git a/ppl2/app/Http/routes.php b/ppl2/app/Http/routes.php index 62f7ae67d3c058682270955ebfe58ccaaf05d52e..9afdaf24a6d97715d25b2ce6a09d01ef40544dda 100644 --- a/ppl2/app/Http/routes.php +++ b/ppl2/app/Http/routes.php @@ -12,7 +12,7 @@ */ Route::get('/', function () { - return view('app_template'); + return view('pages.loginPage'); }); Route::get('pendidikan-formal/new', function() { @@ -78,3 +78,4 @@ Route::resource('InstitusiController', 'InstitusiController'); Route::get('/penjadwalan', function () { return view('penjadwalan'); }); + diff --git a/ppl2/app/informal.php b/ppl2/app/informal.php index 7554cfbb531136286b0de95964b134c66084881f..d64108ab3c1ad5c658b2555f70185e57bb55e907 100644 --- a/ppl2/app/informal.php +++ b/ppl2/app/informal.php @@ -6,8 +6,8 @@ use Illuminate\Database\Eloquent\Model; class informal extends Model { - protected $table = 'informals'; - protected $primaryKey = 'id'; + protected $table = 'booking'; + protected $primaryKey = 'id_booking'; public $timestamps = false; //tidak ada create_at dan update_at protected $connection = 'mysql'; } diff --git a/ppl2/resources/views/pages/editFormal.blade.php b/ppl2/resources/views/pages/editFormal.blade.php index c91f768b0f1e8f5503420211905ca65d9c899d3b..ce8246291c349030719b708255c1998d9e8fdc92 100644 --- a/ppl2/resources/views/pages/editFormal.blade.php +++ b/ppl2/resources/views/pages/editFormal.blade.php @@ -1,7 +1,7 @@ @extends('app_template') @section('title') - Edit | Form Pendidikan Pegawai + Edit | Form pendidikan Pegawai @stop @section('page_title') diff --git a/ppl2/resources/views/pages/loginPage.blade.php b/ppl2/resources/views/pages/loginPage.blade.php index d31dec2dbfd9585af332b8ebbfd77c4037735df8..4bd9bacd26adc10ab371faf5b27367f4c5f8b74a 100644 --- a/ppl2/resources/views/pages/loginPage.blade.php +++ b/ppl2/resources/views/pages/loginPage.blade.php @@ -20,7 +20,7 @@ <div class="panel panel-default"> <div class="panel-heading font-bold">Login</div> <div class="panel-body"> - <form class="bs-example form-horizontal" method = "POST" action = "{{URL::to('login')}}"> + <form class="bs-example form-horizontal" method = "POST" action = "{{URL::to('')}}"> <div class="form-group"> <label class="col-lg-2 control-label">e-mail</label> <div class="col-lg-8"> diff --git a/ppl2/resources/views/penjadwalan.blade.php b/ppl2/resources/views/penjadwalan.blade.php index 23f8b999764df5eac8ea9d9af3b6e9b0e40fde81..8bdb8361293765f4c86eced5dd33219bee4f84e5 100644 --- a/ppl2/resources/views/penjadwalan.blade.php +++ b/ppl2/resources/views/penjadwalan.blade.php @@ -207,7 +207,7 @@ <h4 class="modal-title">Input Jadwal</h4> </div> <div class="modal-body"> - <form class="form-group"> + <form class="form-group" method = "POST" action = "{{URL::to('')}}"> <label for="judul">Judul kegiatan</label> <input type="text" class="form-control" id="judul"> <label for="nama">Nama penyelenggara</label>