From 1e05affd7bc05dc7a9a317a013a113b53cc01665 Mon Sep 17 00:00:00 2001 From: Yoga Adrian <yoga.adrians14@gmail.com> Date: Thu, 12 May 2016 14:40:22 +0700 Subject: [PATCH] push penjadwalan --- ppl2/app/Http/routes.php | 3 ++- ppl2/app/informal.php | 4 ++-- ppl2/resources/views/pages/editFormal.blade.php | 2 +- ppl2/resources/views/pages/loginPage.blade.php | 2 +- ppl2/resources/views/penjadwalan.blade.php | 2 +- 5 files changed, 7 insertions(+), 6 deletions(-) diff --git a/ppl2/app/Http/routes.php b/ppl2/app/Http/routes.php index 62f7ae6..9afdaf2 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 7554cfb..d64108a 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 c91f768..ce82462 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 d31dec2..4bd9bac 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 23f8b99..8bdb836 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> -- GitLab