35 lines
1.2 KiB
PHP
35 lines
1.2 KiB
PHP
@can('update', $file)
|
|
<form method="POST" action="{{route('upload.postEdit', ['id' => $file->id])}}" enctype="multipart/form-data">
|
|
{!! csrf_field() !!}
|
|
|
|
<label class="control-label">
|
|
@lang('admin/fileManager.name')
|
|
</label>
|
|
|
|
<input class="form-control" type="text" name="name" id="name" value="{{$file->name}}" />
|
|
|
|
<label class="control-label">
|
|
@lang('admin/fileManager.keywords')
|
|
</label>
|
|
|
|
<input class="form-control" type="text" name="keywords" id="keywords" value="{{$file->keywords}}" />
|
|
|
|
<lavel class="control-label">
|
|
@lang('admin/fileManager.directory')
|
|
</lavel>
|
|
|
|
<select name="directory_id" class="form-control">
|
|
@include('admin/fileManager.directories.subdirectoriesOptionList', ['directory' => $root, 'depth' => 0, 'file' => $file])
|
|
</select>
|
|
|
|
<label class="control-label">
|
|
@lang('admin/fileManager.description')
|
|
</label>
|
|
|
|
<textarea class="form-control" rows="3" name="description" id="description">{{$file->description}}</textarea>
|
|
|
|
<button type="submit" class="btn btn-primary">@lang('admin/fileManager.editButton')</button>
|
|
</form>
|
|
@endcan
|
|
|