@extends('admin.app') @section('title', "Edit " . $module->name) @section('content')
Change Module Status :
{{Form::open(['route' => ['admin.modules.update', $module->id]])}}
{{Form::label('Enabled ?')}} {{Form::checkbox('enabled', '', $module->enabled)}}
{{ Form::button('Save', ['type' => 'submit', 'class' => 'btn btn-success']) }} {{Form::close()}}
Delete Module
{{Form::open(['route' => ['admin.modules.destroy', $module->id], 'method' => 'delete'])}}
Type in {{strtoupper($module->name)}} to Delete : {{Form::text('verify', '', ['class' => 'form-control', 'required' => 'required'])}}
{{ Form::button('Delete', ['type' => 'submit', 'class' => 'btn btn-danger']) }} {{Form::close()}}
@endsection