@extends('admin.layouts.index') @section('title', 'Halaman Admin SI PeSSUT') @section('judul', 'Samarinda Dalam Angka') @section('subjudul', 'Tambah Data Samarinda Dalam Angka') @section('konten')
Tambah Data
{!! Form::open( ['route' => ['admin.simdasi.update', $dataSimdasi->id], 'method' => 'post', 'class' => 'form-horizontal']) !!} @csrf
{{ Form::label('element_data', null, ['class' => 'col-sm-2 control-label form-label']) }}
{{ Form::text('element_data', $dataSimdasi->element_data, ['class' => 'form-control', 'placeholder' => 'Element Data', 'id' => 'input_element_data', 'autofocus']) }}
@if(Auth::user()->group->nama == 'Administrator')
{{ Form::label('nama_opd', null, ['class' => 'col-sm-2 control-label form-label']) }}
{{ Form::select('opd_id', $opds, $dataSimdasi->opd_id, ['class' => 'form-control', 'placeholder' => 'OPD...', 'data-live-search' => 'true']) }}
@endif
{{ Form::label('capaian', null, ['class' => 'col-sm-2 control-label form-label']) }}
{!! Form::textarea('capaian', $dataSimdasi->capaian, ['id' => 'input_capaian', 'class' => 'form-control']) !!} Nb: jika ada table yang telah di buat sebelumnya dapat digunakan dengan meng copy-paste pada form capaian tersebut
{!! Form::close() !!}
@push('style') @endpush @endsection