2016-09-02 10:42:05 +01:00
|
|
|
@extends('themes.base.layout')
|
2016-09-01 17:17:55 +01:00
|
|
|
@section('title', trans('admin.delete_album', ['name' => $album->name]))
|
|
|
|
|
2016-09-09 15:06:34 +01:00
|
|
|
@section('breadcrumb')
|
2017-04-08 09:41:41 +01:00
|
|
|
<li class="breadcrumb-item"><a href="{{ route('home') }}"><i class="fa fa-fw fa-home"></i></a></li>
|
|
|
|
<li class="breadcrumb-item"><a href="{{ route('admin') }}">@lang('navigation.breadcrumb.admin')</a></li>
|
|
|
|
<li class="breadcrumb-item"><a href="{{ route('albums.index') }}">@lang('navigation.breadcrumb.albums')</a></li>
|
|
|
|
<li class="breadcrumb-item"><a href="{{ route('albums.show', ['id' => $album->id]) }}">{{ $album->name }}</a></li>
|
|
|
|
<li class="breadcrumb-item active">@lang('navigation.breadcrumb.delete_album')</li>
|
2016-09-09 15:06:34 +01:00
|
|
|
@endsection
|
|
|
|
|
2016-09-01 17:17:55 +01:00
|
|
|
@section('content')
|
|
|
|
<div class="container">
|
|
|
|
<div class="row">
|
2017-08-31 17:20:58 +01:00
|
|
|
<div class="col-md-8 ml-md-auto mr-md-auto">
|
|
|
|
<div class="card bg-danger">
|
|
|
|
<div class="card-header text-white">@yield('title')</div>
|
|
|
|
<div class="card-body bg-light">
|
2017-04-08 09:41:41 +01:00
|
|
|
<p>@lang('admin.delete_album_confirm', ['name' => $album->name])</p>
|
|
|
|
<p class="text-danger"><b>@lang('admin.delete_album_warning')</b></p>
|
|
|
|
|
|
|
|
<div class="text-right">
|
|
|
|
<form action="{{ route('albums.destroy', [$album->id]) }}" method="POST">
|
|
|
|
{{ csrf_field() }}
|
|
|
|
{{ method_field('DELETE') }}
|
|
|
|
<a href="{{ route('albums.show', ['id' => $album->id]) }}" class="btn btn-link">@lang('forms.cancel_action')</a>
|
|
|
|
<button type="submit" class="btn btn-danger"><i class="fa fa-fw fa-trash"></i> @lang('forms.delete_action')</button>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</pdiv>
|
2016-09-01 17:17:55 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@endsection
|