22 lines
984 B
PHP
22 lines
984 B
PHP
@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">
|
|
{!! Form::open(['url' => route('albums.destroy', ['id' => $album->id]), 'method' => 'DELETE']) !!}
|
|
<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 |