28 lines
660 B
PHP
28 lines
660 B
PHP
|
|
||
|
@extends('cms.cms-master')
|
||
|
@section('main_content')
|
||
|
<h1>Are You sure you want to delete this contnet ?</h1>
|
||
|
|
||
|
<h2>ID :#<b> {{$item[0] ->id}}</b></h2>
|
||
|
<p>Title : <b>{{$item[0]->title}}</b></p>
|
||
|
<p>Article : <b>{!! $item[0]->article !!}</b></p>
|
||
|
|
||
|
<div class="row">
|
||
|
|
||
|
<div class="col-md-6">
|
||
|
|
||
|
<form action="{{url('cms/content' . '/'.$item[0] ->id)}}" method="post">
|
||
|
{{csrf_field()}}
|
||
|
{{method_field('DELETE')}}
|
||
|
{{-- <input type="hidden" name="_method" value="DELETE"> --}}
|
||
|
<a href="{{url('cms/menu')}}" class="btn btn-default">Cancel</a>
|
||
|
<input type="submit" name="submit" value="Delete" class="btn btn-danger">
|
||
|
</form>
|
||
|
|
||
|
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
@endsection
|