mirror of
https://gitlab.linphone.org/BC/public/flexisip-account-manager.git
synced 2026-01-17 01:58:07 +00:00
Merge branch 'fix/427-add-missing-files-views' into 'master'
Fix FLEXIAPI-427 Add missing file Closes FLEXIAPI-427 See merge request BC/public/flexisip-account-manager!662
This commit is contained in:
commit
ed6add111a
1 changed files with 30 additions and 0 deletions
30
flexiapi/resources/views/admin/account/file/delete.blade.php
Normal file
30
flexiapi/resources/views/admin/account/file/delete.blade.php
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
@extends('layouts.main')
|
||||
|
||||
@section('breadcrumb')
|
||||
@include('admin.parts.breadcrumb.accounts.show', ['account' => $account])
|
||||
<li class="breadcrumb-item active">
|
||||
{{ __('Files') }}
|
||||
</li>
|
||||
<li class="breadcrumb-item active" aria-current="page">{{ __('Delete') }}</li>
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
<h2>{{ __('Delete') }}</h2>
|
||||
|
||||
<form method="POST" action="{{ route('admin.account.file.destroy', [$file->account, $file->id]) }}"
|
||||
accept-charset="UTF-8">
|
||||
@csrf
|
||||
@method('delete')
|
||||
|
||||
<div>
|
||||
<p>{{ __('You are going to permanently delete the following element. Please confirm your action.') }}</p>
|
||||
<p><b>{{ $file->id }}</b></p>
|
||||
</div>
|
||||
<input name="account_id" type="hidden" value="{{ $file->account->id }}">
|
||||
<input name="action_id" type="hidden" value="{{ $file->id }}">
|
||||
|
||||
<div>
|
||||
<input class="btn" type="submit" value="{{ __('Delete') }}">
|
||||
</div>
|
||||
</form>
|
||||
@endsection
|
||||
Loading…
Add table
Reference in a new issue