@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.dalam-angka.store'], 'method' => 'post', 'class' => 'form-horizontal', 'files' => 'true']) !!} @csrf
{{ Form::label('nama_kegiatan', null, ['class' => 'col-sm-2 control-label form-label']) }}
{{ Form::text('nama_kegiatan', null, ['class' => 'form-control', 'placeholder' => 'Nama Kegiatan', 'id' => 'input_nama_kegiatan', 'autofocus']) }}
{{ Form::label('frekuensi_data', null, ['class' => 'col-sm-2 control-label form-label']) }}
@if(Auth::user()->group->nama == 'Administrator')
{{ Form::label('nama_opd', null, ['class' => 'col-sm-2 control-label form-label']) }}
{{ Form::select('opd_id', $opds, null, ['class' => 'form-control', 'placeholder' => 'OPD...', 'data-live-search' => 'false']) }}
@endif
{{ Form::label('sumber_data', null, ['class' => 'col-sm-2 control-label form-label']) }}
{{ Form::text('sumber', null, ['class' => 'form-control', 'placeholder' => 'Sumber / Source data', 'id' => 'input_sumber_data']) }}
{{ Form::label('data_angka', null, ['class' => 'col-sm-2 control-label form-label']) }}
{{ Form::file('file', null, ['class' => 'form-control', 'placeholder' => 'Data Dalam Angka', 'id' => 'input_data']) }}
{!! Form::close() !!}
Download Template Table
@foreach ($datas as $index => $data) @endforeach
Nama File Download
{{ $data->nama_file }} Download
@endsection