@extends('Frontend.Layouts.modal')
@section('title')
{{ trans('global.delete') }}
@stop
@section('body')
{!!Form::open(['route' => ['devices.destroy', $id], 'method' => 'DELETE'])!!}
{!!Form::hidden('id', $id)!!}
{!! trans('front.do_object_delete') !!}
@if(config('tobuli.object_delete_pass') && isAdmin())
{!! Form::label('password', trans('validation.attributes.password') . '*:') !!}
{!! Form::password('password', ['class' => 'form-control']) !!}
@endif
{!!Form::close()!!}
@stop
@section('buttons')
{{ trans('admin.confirm') }}
{{ trans('admin.cancel') }}
@stop