Skip to content

Instantly share code, notes, and snippets.

@bangiqi
Last active May 5, 2017 12:50
{!! Form::model($data_mhs, ['route' => ['mahasiswas.update', $data_mhs],'method' =>'put','class'=>'form-horizontal'])!!}
@include('form.form_add_mhs', ['model' => $data_mhs])
{!! Form::close() !!}
{!! Form::model($mahasiswa, ['route' => ['mahasiswas.destroy', $mahasiswa], 'method' => 'delete', 'class' => 'form-inline'] ) !!}
<a href="{{ route('mahasiswas.edit', $mahasiswa->id)}}">Edit</a> |
{!! Form::submit('delete', ['class'=>'btn btn-xs btn-danger']) !!}
{!! Form::close()!!}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment