blue-twilight/resources/views/admin/delete_album.blade.php

22 lines
971 B
PHP
Raw Normal View History

@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(['route' => ['albums.destroy', $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