2016-09-01 17:17:55 +01:00
|
|
|
@extends('layouts.app')
|
|
|
|
@section('title', trans('admin.delete_album', ['name' => $album->name]))
|
|
|
|
|
|
|
|
@section('content')
|
|
|
|
<div class="container">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-xs-12">
|
|
|
|
<h1>@yield('title')</h1>
|
|
|
|
<p>@lang('admin.delete_album_confirm', ['name' => $album->name])</p>
|
|
|
|
<div class="alert alert-warning">
|
|
|
|
@lang('admin.delete_album_warning')
|
|
|
|
</div>
|
|
|
|
<div class="form-actions">
|
2016-09-01 17:31:16 +01:00
|
|
|
{!! Form::open(['route' => ['albums.destroy', $album->id], 'method' => 'DELETE']) !!}
|
2016-09-01 17:17:55 +01:00
|
|
|
<a href="{{ route('albums.show', ['id' => $album->id]) }}" class="btn btn-default">@lang('forms.cancel_action')</a>
|
|
|
|
{!! Form::submit(trans('forms.delete_action'), ['class' => 'btn btn-danger']) !!}
|
|
|
|
{!! Form::close() !!}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@endsection
|