diff --git a/resources/views/modules/form/form-edit.blade.php b/resources/views/modules/form/form-edit.blade.php index aef7e42..9386556 100644 --- a/resources/views/modules/form/form-edit.blade.php +++ b/resources/views/modules/form/form-edit.blade.php @@ -21,13 +21,7 @@
- +
@@ -37,20 +31,7 @@
- +
diff --git a/resources/views/modules/form/index.blade.php b/resources/views/modules/form/index.blade.php index a6cc288..189d313 100644 --- a/resources/views/modules/form/index.blade.php +++ b/resources/views/modules/form/index.blade.php @@ -247,6 +247,8 @@ $('.edit').on('click',function(){ $('#formModalEdit').modal('show'); + $('.year').val($(this).attr('data-tahun')); + $('.instansi').val($(this).attr('data-instansi')); }); function showCreateModal() {